mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
- movieplayer: show infobar at every start of a movie
This commit is contained in:
@@ -493,7 +493,7 @@ void CMoviePlayerGui::PlayFile(void)
|
|||||||
neutrino_msg_data_t data;
|
neutrino_msg_data_t data;
|
||||||
menu_ret = menu_return::RETURN_REPAINT;
|
menu_ret = menu_return::RETURN_REPAINT;
|
||||||
|
|
||||||
bool first_start_timeshift = false;
|
bool first_start = true;
|
||||||
bool time_forced = false;
|
bool time_forced = false;
|
||||||
bool update_lcd = true;
|
bool update_lcd = true;
|
||||||
int eof = 0;
|
int eof = 0;
|
||||||
@@ -536,7 +536,6 @@ void CMoviePlayerGui::PlayFile(void)
|
|||||||
playstate = CMoviePlayerGui::PLAY;
|
playstate = CMoviePlayerGui::PLAY;
|
||||||
CVFD::getInstance()->ShowIcon(FP_ICON_PLAY, true);
|
CVFD::getInstance()->ShowIcon(FP_ICON_PLAY, true);
|
||||||
if(timeshift) {
|
if(timeshift) {
|
||||||
first_start_timeshift = true;
|
|
||||||
startposition = -1;
|
startposition = -1;
|
||||||
int i;
|
int i;
|
||||||
int towait = (timeshift == 1) ? TIMESHIFT_SECONDS+1 : TIMESHIFT_SECONDS;
|
int towait = (timeshift == 1) ? TIMESHIFT_SECONDS+1 : TIMESHIFT_SECONDS;
|
||||||
@@ -581,9 +580,9 @@ void CMoviePlayerGui::PlayFile(void)
|
|||||||
update_lcd = false;
|
update_lcd = false;
|
||||||
updateLcd();
|
updateLcd();
|
||||||
}
|
}
|
||||||
if (first_start_timeshift) {
|
if (first_start) {
|
||||||
callInfoViewer(/*duration, position*/);
|
callInfoViewer(/*duration, position*/);
|
||||||
first_start_timeshift = false;
|
first_start = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
g_RCInput->getMsg(&msg, &data, 10); // 1 secs..
|
g_RCInput->getMsg(&msg, &data, 10); // 1 secs..
|
||||||
|
Reference in New Issue
Block a user