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

Isaac Richards ijr at case.edu
Thu Jan 31 01:09:20 UTC 2008


On Wednesday 30 January 2008 6:57:22 pm cal wrote:
> Isaac Richards wrote:
> > On Wednesday 30 January 2008 6:02:05 pm cal wrote:
> >> Daniel Kristjansson wrote:
> >>> On Wed, 2008-01-30 at 16:33 +1100, cal wrote:
> >>>> 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.
> >>
> >> Thanks Daniel. I did try a rudimentary close/open in SetInputAndFormat,
> >> but no joy. And I figured a full, clean fix is going to be rather
> >> difficult.
> >
> > Why isn't this logic in the driver, again?
>
> There's a couple of clues in ...
>   http://www.gossamer-threads.com/lists/ivtv/devel/37333#37333>

No, there's not.  I've not seen a valid reason why this wasn't done in the 
driver, instead of pushing a work-around into every app that uses the driver.

Isaac


More information about the mythtv-dev mailing list