diff --git a/src/gui/movieplayer.cpp b/src/gui/movieplayer.cpp index 9c4f60353..bac4fd8c9 100644 --- a/src/gui/movieplayer.cpp +++ b/src/gui/movieplayer.cpp @@ -824,7 +824,7 @@ void CMoviePlayerGui::PlayFileLoop(void) #endif /* in case ffmpeg report incorrect values */ int posdiff = duration - position; - if ((posdiff > 0) && (posdiff < 2000) && timeshift == TSHIFT_MODE_OFF) + if ((posdiff >= 0) && (posdiff < 2000) && timeshift == TSHIFT_MODE_OFF) { int delay = (filelist_it != filelist.end() || repeat_mode != REPEAT_OFF) ? 5 : 10; if (++eof > delay) {