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

Derek Atkins warlord at MIT.EDU
Thu Feb 17 14:26:45 UTC 2005


David Engel <gigem at comcast.net> writes:

> On Wed, Feb 16, 2005 at 07:40:18PM -0600, David Engel wrote:
>> You'll probably need to adjust some of the other magic offsets in
>> ReadWrite.  The 4s and 3s might need to be changed to 6s and 5s,
>
> FYI, the whole problem cropped up because the current buffering
> doesn't preserve the alighment in the file.  In all of the exaamples
> I've seen, the PCITURE_STARTs are sufficiently aligned that an end of
> buffer check shouldn't be needed.  I haven't liked that code from the
> time I wrote it and intended to revisit it to preserve the alignment.
> I think that can be done at the cost of wasting a little memory, but
> don't know when I'll get to it.

In my further testing last night, even with a loop value of -1 the
loop hangs the frontend when it reaches the end of the show.  OOPS.
So I've reverted myself effectively to my first patch.  I'm personally
willing to live with an incorrect frame every 18 minutes, compared to
hanging the frontend or being unable to jump forward or backward.

At least right now with my change the ivtv output is usable, even if
there's a slight small chance of running off the end of the buffer or
into "invalid" data.  When you fix this "for real" I'll gladly test
it.  :)

-derek
-- 
       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