From 91c62d6ff0bfa0f5cec1f648b51ea18cc5cf969e Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Wed, 29 Jan 2014 19:28:53 +0400 Subject: [PATCH] gui/movieplayer.cpp: fix stalled old speed display on vfd, when timeshift rewind started --- src/gui/movieplayer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/movieplayer.cpp b/src/gui/movieplayer.cpp index f61585960..5d630dcc9 100644 --- a/src/gui/movieplayer.cpp +++ b/src/gui/movieplayer.cpp @@ -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) {