[mythtv] Ticket #1847: DVB - Backend fails to tune to a channel on a different input
mark.buechler at gmail.com
Wed May 24 14:04:55 UTC 2006
Ok, it looks like SetChannelByString is called when we're on the same input
(which is correct) but is also called when we switch sources (which I assume
is incorrect). So a bit of code is needed to detect an input change and if
so call SwitchToInput instead. Do I have this correct?
On 5/24/06, Daniel Kristjansson <danielk at cuymedia.net> wrote:
> On Wed, 2006-05-24 at 08:53 -0400, Mark Buechler wrote:
> > #1847: DVB - Backend fails to tune to a channel on a different input
> > Daniel, I'd really like to get this knocked out so I can start testing
> > the rest of the new stuff. Would you mind giving me some pointers
> > where to look to resolve this? To be honest, after looking at the
> > channel change code a couple hours my head is spinning.
> Yeah, it looks like there are two possible problems:
> * DVBChannel::SetChannelByString() is being called when SwitchToInput()
> should be called. Somehow the input variable in the tuning request
> is being reset, or just never set.
> * DVBChannel::SetChannelByString() does not check if a channel not on
> the current input exists on another input. If you look at other
> Channel classes, like the one in channel.cpp, you will see that
> they switch the to another input when needed.
> I don't know if problem #1 exists. I know problem #2 exists, but I don't
> know if that is why you are having problems.
> -- Daniel
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mythtv-dev