[mythtv] Ticket #1847: DVB - Backend fails to tune to a channel on a different input

Mark Buechler 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?

- Mark.

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
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20060524/c42c39b0/attachment.htm 

More information about the mythtv-dev mailing list