[mythtv] Latest CVS LiveTV->Recording problems

Isaac Richards ijr at po.cwru.edu
Sat Jul 19 17:12:16 EDT 2003


On Saturday 19 July 2003 12:35 pm, avalanche at beyondmonkey.com wrote:
> I think this one should fix it. The ReadAheadThread() was setting
> the ateof flag almost right at playback start, the only thing keeping
> it from quitting was the zerocnt threshold in safe_read(). If you had
> any settings that caused a little latency like mpeg4 + mp3 the zerocnt
> would bail and not read the header, bad frame etc.
>
> It think it's safe to check ret for 0 instead of != totfree, doesn't seem
> to break anything else. It works now even with the worst case
> settings that caused the player to quit almost immediately before.
>
> Changing the zerocnt check to 10 doesn't have anything to do with
> the fix, just noticed that the player always has to wait for it on startup
> (why?), it makes playback of files just a little bit snappier.

Applied this, thanks =)

Isaac


More information about the mythtv-dev mailing list