summaryrefslogtreecommitdiffstats
path: root/src/cameras/pco.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-03-16 12:24:35 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-03-16 12:24:35 +0100
commit426687c80bbc52474a53939d7034d45180adc1f5 (patch)
tree589a722bee8a55d7b0c58be9d55e73bf31530f5d /src/cameras/pco.c
parent42cf4c6d95639b785b5c4f0f704e3552df22ed9e (diff)
downloadlibuca-426687c80bbc52474a53939d7034d45180adc1f5.tar.gz
libuca-426687c80bbc52474a53939d7034d45180adc1f5.tar.bz2
libuca-426687c80bbc52474a53939d7034d45180adc1f5.tar.xz
libuca-426687c80bbc52474a53939d7034d45180adc1f5.zip
Remember current frame number and remove frame dimensions in dummy.c
Diffstat (limited to 'src/cameras/pco.c')
-rw-r--r--src/cameras/pco.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cameras/pco.c b/src/cameras/pco.c
index a789762..0c13ca6 100644
--- a/src/cameras/pco.c
+++ b/src/cameras/pco.c
@@ -215,7 +215,7 @@ uint32_t uca_pco_stop_recording(struct uca_camera_t *cam)
uint32_t uca_pco_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 */