]> rtime.felk.cvut.cz Git - frescor/streamer.git/blobdiff - rt.c
Update
[frescor/streamer.git] / rt.c
diff --git a/rt.c b/rt.c
index 34f859f5eaaf1ea9791805c98cd73dada4180cd4..1261012c6cdfb9cdb5ce01948d81953540d1f4ed 100644 (file)
--- a/rt.c
+++ b/rt.c
@@ -6,6 +6,11 @@ static uint64_t start_time, start_time1;
 
 void rt_job_start(uint64_t t)
 {
+extern int fps;
+#if 1
+  t += (1000000ul / fps);      /* Hack to work around v4l2vd bug... */
+#endif
+
   start_time = t;
   start_time1 = av_gettime();
 }