From 9c29f2761659cfbc017bee4b8cc6087b1b6c6ed9 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 Signed-off-by: Thilo Graf Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/3c6711d2d5ddd6cb820b835b50e8650b71552afc 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 Signed-off-by: Thilo Graf ------------------ 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 8a91f148c..bb4f582ed 100644 --- a/src/gui/movieplayer.cpp +++ b/src/gui/movieplayer.cpp @@ -460,7 +460,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()); @@ -478,7 +477,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();