[mythtv] [mythtv-commits] Ticket #4466: MythTV should disable tuner before switching inputs

Daniel Kristjansson danielk at cuymedia.net
Wed Jan 30 22:53:17 UTC 2008


On Wed, 2008-01-30 at 16:33 +1100, cal wrote:
> MythTV wrote:
> 
> > Comment(by starz909 at yahoo.com):
> > 
> >  OK, just a reminder everyone.  Kernel 2.6.24 is marked as stable on
> >  www.kernel.org.  Anyone who switches to this kernel or uses a bleeding
> >  edge ivtv driver will NOT be able to change inputs on their IVTV hardware
> >  encoder cards during livetv, or any time the card is active, until a patch
> >  that does as I propose is added to Mythtv.  And I imagine there are quite
> >  a few people that own IVTV cards.  I urge the developers to please
> >  consider my request for this addition.
> 
> xine now handles this as follows ...
<snip>

> Would such a close/reopen hack be feasible in myth ... and where to look
> for the possibilities?

Well it is easy enough to close and reopen the videofd in
Channel::SetInputAndFormat(), but I doubt that would be sufficient.
There is another possibly open file descriptor for the same device
in MpegRecorder. If that also needs to be closed and reopened then
it becomes rather difficult to do this in a clean manner.

-- Daniel



More information about the mythtv-dev mailing list