[mythtv] Re: [mythtv-commits] mythtv commits

Bruce Markey bjm at lvcm.com
Sat May 14 17:37:59 UTC 2005


Isaac Richards wrote:
> On Thursday 12 May 2005 10:30 pm, mythtv at cvs.mythtv.org wrote:
> 
>>---------------------------------------------------------------------------
>>- Changes committed by bjm on Thu May 12 20:51:49 2005
>>
>>Modified Files:
>>   in mythtv/libs/libmythtv:
>>        RingBuffer.cpp
>>Log Message:
>>Don't spin the read ahead thread when the buffer is already full. A little
>>more aggressive when the buffer is nearly empty.
> 
> 
> Might want to play with getting rid of the read-ahead thread entirely for 
> local content, and only use it for streamed stuff.  If something like the 
> 'extra audio buffering' code from avformatdecoder.cpp was in 
> nuppeldecoder.cpp, it probably wouldn't be necessary anymore.

I'll take a look at it. Might not be much of a performance win
and if there is any chance of a burst of motion out running the
filesystem read ahead then it may not be a good thing. Keeping
the 2.5MB buffer is cheap and takes the fs characteristics almost
completely out of the equation.

--  bjm


More information about the mythtv-dev mailing list