mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +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;
|
//CTimeOSD FileTime;
|
||||||
position = 0, duration = 0;
|
position = 0, duration = 0;
|
||||||
|
speed = 1;
|
||||||
|
|
||||||
playstate = CMoviePlayerGui::STOPPED;
|
playstate = CMoviePlayerGui::STOPPED;
|
||||||
printf("Startplay at %d seconds\n", startposition/1000);
|
printf("Startplay at %d seconds\n", startposition/1000);
|
||||||
@@ -574,6 +575,7 @@ void CMoviePlayerGui::PlayFile(void)
|
|||||||
|
|
||||||
/* playback->Start() starts paused */
|
/* playback->Start() starts paused */
|
||||||
if(timeshift == 3) {
|
if(timeshift == 3) {
|
||||||
|
speed = -1;
|
||||||
playback->SetSpeed(-1);
|
playback->SetSpeed(-1);
|
||||||
playstate = CMoviePlayerGui::REW;
|
playstate = CMoviePlayerGui::REW;
|
||||||
if (!FileTime.IsVisible() && !time_forced) {
|
if (!FileTime.IsVisible() && !time_forced) {
|
||||||
|
Reference in New Issue
Block a user