From 767a31f08a3125d1c727a3920b6f285b64c27982 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Mon, 1 Feb 2016 16:42:28 +0300 Subject: [PATCH] src/gui/movieplayer.cpp: fix play loop, if play stopped using end bookmark in multi-file mode Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/6a73ba4a6535905630c608db608234b7e1bf32d0 Author: [CST] Focus Date: 2016-02-01 (Mon, 01 Feb 2016) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/movieplayer.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/movieplayer.cpp b/src/gui/movieplayer.cpp index 8eb848940..3b88cd4d1 100644 --- a/src/gui/movieplayer.cpp +++ b/src/gui/movieplayer.cpp @@ -954,6 +954,9 @@ void CMoviePlayerGui::PlayFileLoop(void) eof = 0; } handleMovieBrowser(0, position); + if (playstate == CMoviePlayerGui::STOPPED) + at_eof = true; + FileTime.update(position, duration); } showSubtitle(0);