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

John Patrick Poet john at BlueSkyTours.com
Tue Dec 7 00:23:04 UTC 2004


On Mon, 6 Dec 2004, Isaac Richards wrote:

> 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


Thanks Isaac, I will look into that.


John


More information about the mythtv-dev mailing list