[mythtv] readAdjust -> UI unresponsiveness.

Daniel Kristjansson danielk at cuymedia.net
Sun Feb 5 17:09:10 UTC 2006


On Sun, 2006-02-05 at 10:24 -0500, Daniel Kristjansson wrote:
> On Sun, 2006-02-05 at 03:26 -0500, Isaac Richards wrote:
> > On Sunday 05 February 2006 03:22, Isaac Richards wrote:
> > > On Saturday 04 February 2006 23:55, Daniel Kristjansson wrote:
> > > > NOTE: I had to remove the front end log due to size constraints
> > > Good thing I had access to the list moderation log, since where it went
> > > wrong was in parts of the log you cut out. =)
> Oops!
> 
> > > Try with 8866 - I bet that fixes all these related issues.
> > Err, make that 8867.  Left in the 'switch every 20 seconds' stuff in 8866. =)
> 
> I seem to be getting a different problem, The NVP exits the decoder
> loop and VideoOutput class is being deleted while watching LiveTV.
> It appears the TV class continues to soldier on, but too little
> effect. There is a little excerpt below. I'll look at this in more
> detail after breakfast...

So it looks like this problem occurs because the avformatdecoder hits
the end of the ringbuffer after RingBuffer::OpenFile() returns true
but before the read ahead thread gets any data. The avformatdecoder 
then tells the NVP that it has hit the EOF, and since there is no
program after the current one the NVP bails. I believe this occurs
mostly on low bitrate channels, such as the weather channel.

What happens is that OpenFile() returns as soon as there are about 200
bytes in the file, but the read ahead thread doesn't return any data
until there is at least 128KB of data. Or, even more if ffmpeg thinks
the bitrate is higher than it actually is...

-- Daniel



More information about the mythtv-dev mailing list