diff options
authorDevin Heitmueller <dheitmueller@kernellabs.com>2010-03-17 18:42:30 -0400
committerDevin Heitmueller <dheitmueller@kernellabs.com>2010-03-17 18:42:30 -0400
commit57008b16b80b8370632fdd886e7a4402494670af (patch)
parentbde7a92070d3913198d7fa3629a586c28dcef97a (diff)
djh - revert change I made where we thought we needed to read the VBI data twice. It turns up the fieldsavailable field being four doesn't mean that it just read four frames before doing a VBI read, so much as that the pipeline supports four frames at a time.
Because of the change, we were losing about half of the video frames because the second read on the VBI device would stall tvtime for up to 30ms.
1 files changed, 0 insertions, 1 deletions
diff --git a/src/tvtime.c b/src/tvtime.c
index 4c8b2b4..43b2385 100644
--- a/src/tvtime.c
+++ b/src/tvtime.c
@@ -2365,7 +2365,6 @@ int tvtime_main( rtctimer_t *rtctimer, int read_stdin, int realtime,
videoinput_free_frame( vidin, secondlastframeid );
if( vbidata ) {
vbidata_process_frame( vbidata, printdebug );
- vbidata_process_frame( vbidata, printdebug );
} else if( fieldsavailable == 2 ) {
if( lastframeid >= 0 )

Privacy Policy