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

Derek Atkins warlord at MIT.EDU
Wed Feb 16 20:40:38 UTC 2005


David Engel <gigem at comcast.net> writes:

> That's the case.  If it can happen, it will happen.

*sigh*.  So on average you lose the count of one frame ever 18 minutes...

>> > I know ID::ReadWrite is a mess, but could you try to do a full fix for
>> > this?  If not, I'll try to get to it in the next couple of days.
>> 
>> What does a "full fix" imply?  I'm not even sure I know what it means.
>
> Adjusting the buffering to make sure the extra bytes will always be in
> the buffer when needed.

Perhaps something like the attached patch?  I think this will do the
proper buffering so it always has an "extra byte" at the end of the
buffer for the check.  A quick test-run with this change seems to work
okay.

-derek

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ivtv2.diff
Type: text/x-patch
Size: 1879 bytes
Desc: New attempt at ivtv fix
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050216/0083456a/ivtv2.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