summaryrefslogtreecommitdiffstats
path: root/bin/tools/grab.c
diff options
context:
space:
mode:
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;