movieplayer: show infobar at every start of a movie

Origin commit data
------------------
Branch: ni/coolstream
Commit: 00b4303765
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-11-15 (Fri, 15 Nov 2013)

Origin message was:
------------------
- movieplayer: show infobar at every start of a movie

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

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2013-11-15 09:08:14 +01:00
parent 220504e642
commit 65cd83f5e6

View File

@@ -493,7 +493,7 @@ void CMoviePlayerGui::PlayFile(void)
neutrino_msg_data_t data;
menu_ret = menu_return::RETURN_REPAINT;
bool first_start_timeshift = false;
bool first_start = true;
bool time_forced = false;
bool update_lcd = true;
int eof = 0;
@@ -536,7 +536,6 @@ void CMoviePlayerGui::PlayFile(void)
playstate = CMoviePlayerGui::PLAY;
CVFD::getInstance()->ShowIcon(FP_ICON_PLAY, true);
if(timeshift) {
first_start_timeshift = true;
startposition = -1;
int i;
int towait = (timeshift == 1) ? TIMESHIFT_SECONDS+1 : TIMESHIFT_SECONDS;
@@ -581,9 +580,9 @@ void CMoviePlayerGui::PlayFile(void)
update_lcd = false;
updateLcd();
}
if (first_start_timeshift) {
if (first_start) {
callInfoViewer(/*duration, position*/);
first_start_timeshift = false;
first_start = false;
}
g_RCInput->getMsg(&msg, &data, 10); // 1 secs..