From 2eb1bb1cf5f46378e440add9a9e12e3928db91e5 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Sat, 23 Dec 2017 17:56:56 +0100 Subject: [PATCH] fix play stop on cst after hd51 merge --- src/gui/movieplayer.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/gui/movieplayer.cpp b/src/gui/movieplayer.cpp index b32270b89..cbc51dde2 100644 --- a/src/gui/movieplayer.cpp +++ b/src/gui/movieplayer.cpp @@ -1664,9 +1664,7 @@ void CMoviePlayerGui::PlayFileLoop(void) #ifdef DEBUG printf("CMoviePlayerGui::%s: spd %d pos %d/%d (%d, %d%%)\n", __func__, speed, position, duration, duration-position, file_prozent); #endif - } else #if HAVE_COOL_HARDWARE - { /* in case ffmpeg report incorrect values */ if(file_prozent > 89 && (playstate == CMoviePlayerGui::PLAY) && (speed == 1)){ if(position_tmp != position){ @@ -1693,8 +1691,11 @@ void CMoviePlayerGui::PlayFileLoop(void) } else eof = 0; +#endif + } -#else +#if ! HAVE_COOL_HARDWARE + else { if (filelist_it == filelist.end() - 1 || filelist_it == filelist.end()) g_RCInput->postMsg((neutrino_msg_t) g_settings.mpkey_stop, 0);