[mythtv] HD3000 buffer overrun solution - patches for hdtvrecorder.cpp/.h against mythtv 0.16

Isaac Richards ijr at case.edu
Tue Dec 7 00:07:27 UTC 2004


On Monday 06 December 2004 06:57 pm, John Patrick Poet wrote:
> My latest "tuning" has to do with how long the hdtvrecorder ringbuffer
> sleeps per cycle.  If it sleeps too long, I get overruns.  If it does not
> sleep long enough, I get "IOBOUNDs" which lead to the ringbuffer filling
> up.

You may also want to try spawning off a secondary thread from the RingBuffer 
writer that just does the TFW::Sync() every second, instead of making the 
main writer thread block on that...

Isaac


More information about the mythtv-dev mailing list