[mythtv] Re: Ticket #430: Tuner busy on consecutive recordings

David Engel gigem at comcast.net
Fri Oct 7 22:05:24 UTC 2005


On Fri, Oct 07, 2005 at 04:29:04PM -0500, David Engel wrote:
> I suspect one of the recent changes in tv_rec is at fault.
> Specifically, it appears TVR::StartRecording is not waiting for the
> state to change to kState_None if in overrecord before continuing on.

To help further narrow things down, this change looks like it fits the
time frame when the problem started for me.

> 7390 | danielk | 2005-10-04 17:58:36 -0500 (Tue, 04 Oct 2005) | 9 lines
> 
> Really fix the "Re-enter LiveTV quickly" problem.
> 
> This uses sched_yield() to let WaitForEventThreadSleep()
> start waiting. And if that fails it lowers the wait
> period in the event loop to 1 second. This means
> that SpawnLiveTV will always return before the
> frontend times out.

David
-- 
David Engel
gigem at comcast.net


More information about the mythtv-dev mailing list