Permalink
Browse files

Fixes #10400. Avoid getting stuck on mux in EPG channel changes.

  • Loading branch information...
daniel-kristjansson committed Mar 6, 2012
1 parent 031d488 commit 3a51b833ea749e1d4fa3fa0a80cc7f20ee5c6d9e
Showing with 3 additions and 3 deletions.
  1. +3 −3 mythtv/libs/libmythtv/tv_play.cpp
@@ -7063,14 +7063,14 @@ void TV::ChangeChannel(PlayerContext *ctx, uint chanid, const QString &chan)
bool getit = false;
if (ctx->recorder)
{
- if (ctx->pseudoLiveTVState == kPseudoRecording)
+ if ((ctx->pseudoLiveTVState == kPseudoRecording) || chanid)
{
getit = true;
}
else if (chanid)
{
- getit = ctx->recorder->ShouldSwitchToAnotherCard(
- QString::number(chanid));
+ tunable_on = IsTunableOn(ctx, chanid, true, false);
+ getit = !tunable_on.contains(ctx->GetCardID());
}
else
{

0 comments on commit 3a51b83

Please sign in to comment.