summaryrefslogtreecommitdiff
path: root/yavta.c
diff options
context:
space:
mode:
Diffstat (limited to 'yavta.c')
-rw-r--r--yavta.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/yavta.c b/yavta.c
index b627725..09eb485 100644
--- a/yavta.c
+++ b/yavta.c
@@ -1715,8 +1715,10 @@ static int video_do_capture(struct device *dev, unsigned int nframes,
goto done;
}
- if (ts.tv_sec == start.tv_sec && ts.tv_nsec == start.tv_nsec)
+ if (ts.tv_sec == start.tv_sec && ts.tv_nsec == start.tv_nsec) {
+ printf("Captured %u frames (%u bytes) 0 seconds\n", i, size);
goto done;
+ }
ts.tv_sec -= start.tv_sec;
ts.tv_nsec -= start.tv_nsec;