From 426687c80bbc52474a53939d7034d45180adc1f5 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Wed, 16 Mar 2011 12:24:35 +0100 Subject: Remember current frame number and remove frame dimensions in dummy.c --- src/cameras/pf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cameras/pf.c') diff --git a/src/cameras/pf.c b/src/cameras/pf.c index c1267e3..1ea3d3c 100644 --- a/src/cameras/pf.c +++ b/src/cameras/pf.c @@ -174,7 +174,7 @@ uint32_t uca_pf_stop_recording(struct uca_camera_t *cam) uint32_t uca_pf_grab(struct uca_camera_t *cam, char *buffer) { uint16_t *frame; - uint32_t err = cam->grabber->grab(cam->grabber, (void **) &frame); + uint32_t err = cam->grabber->grab(cam->grabber, (void **) &frame, &cam->current_frame); if (err != UCA_NO_ERROR) return err; /* FIXME: choose according to data format */ -- cgit v1.2.3