Skip to content
Browse files

Don't mute if we're not going to change channels, patch by Joe V.

git-svn-id: http://svn.mythtv.org/svn/trunk@2042 7dbf422c-18fa-0310-86e9-fd20926502f2
  • Loading branch information...
1 parent c2ef2ea commit cdddb9dfa2ecfb9fbe2318902b64372e3499c688 Isaac Richards committed Aug 15, 2003
Showing with 3 additions and 3 deletions.
  1. +3 −3 mythtv/libs/libmythtv/tv_play.cpp
View
6 mythtv/libs/libmythtv/tv_play.cpp
@@ -1725,15 +1725,15 @@ void TV::ChangeChannelByString(QString &name)
{
bool muted = false;
+ if (!activerecorder->CheckChannel(name))
+ return;
+
if (volumeControl && !volumeControl->GetMute() && activenvp == nvp)
{
volumeControl->ToggleMute();
muted = true;
}
- if (!activerecorder->CheckChannel(name))
- return;
-
if (activenvp == nvp)
{
if (paused)

0 comments on commit cdddb9d

Please sign in to comment.
Something went wrong with that request. Please try again.