[mythtv] Re: Re: Re: 0.17 playback on PVR-350 tvout has bad framecount timing

Derek Atkins warlord at MIT.EDU
Wed Feb 16 21:41:59 UTC 2005


David Engel <gigem at comcast.net> writes:

>> *sigh*.  So on average you lose the count of one frame ever 18 minutes...
>
> I know, but it's still a bug!

True, but it's much lesser of an evil than the current code.  The
current code is nearly unusable watching LiveTV.  But eh, I don't have
commit access.

>> Perhaps something like the attached patch?  I think this will do the
>
> Yes, like that, but I think you need to allow for a 2-byte pad.
> bufptr is incremented before we access bufptr[1], so it's actually the
> second byte after the end of buffer check.

picky picky picky.  Here's another version with some updated comments.

-derek

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ivtv3.diff
Type: text/x-patch
Size: 1895 bytes
Desc: make David happy
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050216/b10b58dc/ivtv3.bin
-------------- next part --------------

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the mythtv-dev mailing list