From 660b5d607368465bb4a3d10c5d79b80db9cfb596 Mon Sep 17 00:00:00 2001 From: Michael Liebmann Date: Mon, 3 Jun 2013 17:57:51 +0200 Subject: [PATCH] youtube feeds: Fix handling mute icon Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/54e4a812d24ec0b0049092dc8a9025e6b57fd105 Author: Michael Liebmann Date: 2013-06-03 (Mon, 03 Jun 2013) Origin message was: ------------------ * youtube feeds: Fix handling mute icon --- src/gui/movieplayer.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/movieplayer.cpp b/src/gui/movieplayer.cpp index 7a56a8427..54f3816bd 100644 --- a/src/gui/movieplayer.cpp +++ b/src/gui/movieplayer.cpp @@ -192,6 +192,7 @@ int CMoviePlayerGui::exec(CMenuTarget * parent, const std::string & actionKey) moviebrowser->setMode(MB_SHOW_RECORDS); } else if (actionKey == "ytplayback") { + CAudioMute::getInstance()->enableMuteIcon(false); isMovieBrowser = true; moviebrowser->setMode(MB_SHOW_YT); } @@ -229,6 +230,9 @@ int CMoviePlayerGui::exec(CMenuTarget * parent, const std::string & actionKey) CVFD::getInstance()->setMode(CVFD::MODE_TVRADIO); + if (moviebrowser->getMode() == MB_SHOW_YT) + CAudioMute::getInstance()->enableMuteIcon(true); + if (timeshift){ timeshift = 0; return menu_return::RETURN_EXIT_ALL;