mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
- movieplayer/infoviewer: simplify call of showMovieInfo()
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -1084,14 +1084,7 @@ void CInfoViewer::loop(bool show_dot)
|
||||
g_RCInput->postMsg (msg, 0);
|
||||
res = messages_return::cancel_info;
|
||||
} else if (msg == CRCInput::RC_help || msg == CRCInput::RC_info) {
|
||||
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;
|
||||
} else if ((msg == NeutrinoMessages::EVT_TIMER) && (data == fader.GetFadeTimer())) {
|
||||
if(fader.FadeDone())
|
||||
|
@@ -1878,12 +1878,6 @@ void CMoviePlayerGui::PlayFileLoop(void)
|
||||
showHelp();
|
||||
enableOsdElements(NO_MUTE);
|
||||
} else if (msg == CRCInput::RC_info) {
|
||||
if (fromInfoviewer)
|
||||
{
|
||||
showMovieInfo();
|
||||
fromInfoviewer = false;
|
||||
}
|
||||
else
|
||||
callInfoViewer();
|
||||
update_lcd = true;
|
||||
clearSubtitle();
|
||||
|
Reference in New Issue
Block a user