movieplayer/infoviewer: simplify call of showMovieInfo()

Origin commit data
------------------
Branch: ni/coolstream
Commit: 3fcffe87ff
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-07-23 (Mon, 23 Jul 2018)

Origin message was:
------------------
- movieplayer/infoviewer: simplify call of showMovieInfo()

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2018-07-23 19:48:47 +02:00
parent 435159cfe9
commit b56357a43a
2 changed files with 2 additions and 15 deletions

View File

@@ -1138,13 +1138,6 @@ void CInfoViewer::loop(bool show_dot)
g_RCInput->postMsg (msg, 0); g_RCInput->postMsg (msg, 0);
res = messages_return::cancel_info; res = messages_return::cancel_info;
} else if (msg == CRCInput::RC_info) { //NI } else if (msg == CRCInput::RC_info) { //NI
if (fileplay)
{
CMoviePlayerGui::getInstance().setFromInfoviewer(true);
g_RCInput->postMsg (msg, data);
hideIt = true;
}
else
g_RCInput->postMsg(NeutrinoMessages::SHOW_EPG, 0); g_RCInput->postMsg(NeutrinoMessages::SHOW_EPG, 0);
res = messages_return::cancel_info; res = messages_return::cancel_info;
} else if ((msg == NeutrinoMessages::EVT_TIMER) && (data == fader.GetFadeTimer())) { } else if ((msg == NeutrinoMessages::EVT_TIMER) && (data == fader.GetFadeTimer())) {

View File

@@ -1889,12 +1889,6 @@ void CMoviePlayerGui::PlayFileLoop(void)
showHelp(); showHelp();
enableOsdElements(NO_MUTE); enableOsdElements(NO_MUTE);
} else if (msg == CRCInput::RC_info) { } else if (msg == CRCInput::RC_info) {
if (fromInfoviewer)
{
showMovieInfo();
fromInfoviewer = false;
}
else
callInfoViewer(); callInfoViewer();
update_lcd = true; update_lcd = true;
clearSubtitle(); clearSubtitle();