mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
gui/movieplayer.cpp: fix stalled old speed display on vfd, when timeshift rewind started
This commit is contained in:
@@ -508,6 +508,7 @@ void CMoviePlayerGui::PlayFile(void)
|
||||
|
||||
//CTimeOSD FileTime;
|
||||
position = 0, duration = 0;
|
||||
speed = 1;
|
||||
|
||||
playstate = CMoviePlayerGui::STOPPED;
|
||||
printf("Startplay at %d seconds\n", startposition/1000);
|
||||
@@ -574,6 +575,7 @@ void CMoviePlayerGui::PlayFile(void)
|
||||
|
||||
/* playback->Start() starts paused */
|
||||
if(timeshift == 3) {
|
||||
speed = -1;
|
||||
playback->SetSpeed(-1);
|
||||
playstate = CMoviePlayerGui::REW;
|
||||
if (!FileTime.IsVisible() && !time_forced) {
|
||||
|
Reference in New Issue
Block a user