Isaac Richards wrote:
On Thursday 12 May 2005 10:30 pm, [EMAIL PROTECTED] 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
_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to