From da8b6a0bbd3d82cee9f9cbedf66918d3a6622ecc Mon Sep 17 00:00:00 2001 From: vanhofen Date: Mon, 13 Nov 2017 21:17:36 +0100 Subject: [PATCH] movieplayer: try to fix display of servicename; ... name can be changed while playing movies Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/1209b51c97737374fd26c0705d6eca47aee06fa1 Author: vanhofen Date: 2017-11-13 (Mon, 13 Nov 2017) Origin message was: ------------------ - movieplayer: try to fix display of servicename; ... name can be changed while playing movies ------------------ This commit was generated by Migit --- src/gui/movieplayer.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gui/movieplayer.cpp b/src/gui/movieplayer.cpp index cfee6a38b..27669dfcb 100644 --- a/src/gui/movieplayer.cpp +++ b/src/gui/movieplayer.cpp @@ -491,7 +491,6 @@ int CMoviePlayerGui::exec(CMenuTarget * parent, const std::string & actionKey) return menu_return::RETURN_REPAINT; } - std::string oldservicename = CVFD::getInstance()->getServicename(); while(!isHTTP && !isUPNP && SelectFile()) { CVFD::getInstance()->setMode(CVFD::MODE_TVRADIO); CVFD::getInstance()->showServicename(file_name.c_str()); @@ -509,7 +508,7 @@ int CMoviePlayerGui::exec(CMenuTarget * parent, const std::string & actionKey) } while (repeat_mode || filelist_it != filelist.end()); } - CVFD::getInstance()->showServicename(oldservicename.c_str()); + CVFD::getInstance()->showServicename(CVFD::getInstance()->getServicename()); bookmarkmanager->flush();