summaryrefslogtreecommitdiffstats
path: root/bin/tools/grab.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2014-02-14 16:20:12 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2014-02-14 16:20:12 +0100
commitab7c4e1b75c3954d4c52a31e869dc8311a2dfc04 (patch)
tree6e002e95258e4e736c58f5187ff93cf83579541b /bin/tools/grab.c
parentf15d21389a81f8df36b00113aed5c81d27143861 (diff)
parent961e60a89bc60e760707892539ccd7c6d283ef01 (diff)
downloaduca-ab7c4e1b75c3954d4c52a31e869dc8311a2dfc04.tar.gz
uca-ab7c4e1b75c3954d4c52a31e869dc8311a2dfc04.tar.bz2
uca-ab7c4e1b75c3954d4c52a31e869dc8311a2dfc04.tar.xz
uca-ab7c4e1b75c3954d4c52a31e869dc8311a2dfc04.zip
Merge pull request #31 from ufo-kit/add-frame-buffering
Add buffered recording to base class
Diffstat (limited to 'bin/tools/grab.c')
-rw-r--r--bin/tools/grab.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/tools/grab.c b/bin/tools/grab.c
index a3dd544..11f8a83 100644
--- a/bin/tools/grab.c
+++ b/bin/tools/grab.c
@@ -170,6 +170,7 @@ record_frames (UcaCamera *camera, Options *opts)
gdouble elapsed;
uca_camera_grab (camera, uca_ring_buffer_get_write_pointer (buffer), &error);
+ uca_ring_buffer_write_advance (buffer);
if (error != NULL)
return error;