From 5a9380eed3131cb68f57ba97d0ed1c9f65388e5c Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Sat, 23 Dec 2017 18:21:55 +0100 Subject: [PATCH] try to fix next file play on AX Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/12166952f7b2642f5e6f2a4badea8e5148c8abf2 Author: Jacek Jendrzej Date: 2017-12-23 (Sat, 23 Dec 2017) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/movieplayer.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/gui/movieplayer.cpp b/src/gui/movieplayer.cpp index 9b2c71190..abb5e0d82 100644 --- a/src/gui/movieplayer.cpp +++ b/src/gui/movieplayer.cpp @@ -1702,10 +1702,8 @@ void CMoviePlayerGui::PlayFileLoop(void) #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); - else - g_RCInput->postMsg((neutrino_msg_t) CRCInput::RC_right, 0); + at_eof = true; + break; } #endif handleMovieBrowser(0, position);