[mythtv] Re: [mythtv-commits] Re: Ticket #345: starting live TV failed

Daniel Kristjansson danielk at cuymedia.net
Mon Sep 19 16:35:46 UTC 2005

On Mon, 2005-09-19 at 07:55 -0600, Greg Grotsky wrote:
> I get this same stuff with my recent SVN last night (7272) using DVB
> on HD-3000. Kernel version:  LiveTV works the first time but
> exiting and reentering LiveTV or changing channels is very risky.

I'm working on a comprehensive solution to the tuning problem.

Fixing the current code is a losing battle. The code was originally
written when tuning was atomic, i.e. with the bttv framegrabber cards.
Then less atomic tuning processes were added little by little, with
the current tuning process involving multiple threads being the result.

I'm removing tuning from the mainserver thread and removing the separate
tuning thread for the DTV cards and removing RingBuffer pausing. All of
the tuning will be done in a HandleTuning() function called by RunTV(),
so it will all be handled in the TVRec event thread. But this will take
at least a few days as it is a fairly radical change. The upshot will be
a much simpler, if not actually simple, process which can be debugged
more easily.

-- Daniel

More information about the mythtv-dev mailing list