gui/movieplayer.cpp: fix stalled old speed display on vfd, when timeshift rewind started

This commit is contained in:
[CST] Focus
2014-01-29 19:28:53 +04:00
parent 5135e30773
commit 91c62d6ff0

View File

@@ -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) {