- movieplayer/infoviewer: simplify call of showMovieInfo()

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2018-07-23 19:48:47 +02:00
committed by Thilo Graf
parent 87bb512534
commit f7025a9a7d
2 changed files with 2 additions and 15 deletions

View File

@@ -1878,13 +1878,7 @@ void CMoviePlayerGui::PlayFileLoop(void)
showHelp();
enableOsdElements(NO_MUTE);
} else if (msg == CRCInput::RC_info) {
if (fromInfoviewer)
{
showMovieInfo();
fromInfoviewer = false;
}
else
callInfoViewer();
callInfoViewer();
update_lcd = true;
clearSubtitle();
} else if (timeshift != TSHIFT_MODE_OFF && (msg == CRCInput::RC_text || msg == CRCInput::RC_epg || msg == NeutrinoMessages::SHOW_EPG)) {