Skip to content

Commit

Permalink
fix play stop on cst after hd51 merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacek Jendrzej committed Dec 23, 2017
1 parent 335afa7 commit 2eb1bb1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/gui/movieplayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand All @@ -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);
Expand Down

0 comments on commit 2eb1bb1

Please sign in to comment.