mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
fix play stop on cst after hd51 merge
This commit is contained in:
@@ -1664,9 +1664,7 @@ void CMoviePlayerGui::PlayFileLoop(void)
|
|||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
printf("CMoviePlayerGui::%s: spd %d pos %d/%d (%d, %d%%)\n", __func__, speed, position, duration, duration-position, file_prozent);
|
printf("CMoviePlayerGui::%s: spd %d pos %d/%d (%d, %d%%)\n", __func__, speed, position, duration, duration-position, file_prozent);
|
||||||
#endif
|
#endif
|
||||||
} else
|
|
||||||
#if HAVE_COOL_HARDWARE
|
#if HAVE_COOL_HARDWARE
|
||||||
{
|
|
||||||
/* in case ffmpeg report incorrect values */
|
/* in case ffmpeg report incorrect values */
|
||||||
if(file_prozent > 89 && (playstate == CMoviePlayerGui::PLAY) && (speed == 1)){
|
if(file_prozent > 89 && (playstate == CMoviePlayerGui::PLAY) && (speed == 1)){
|
||||||
if(position_tmp != position){
|
if(position_tmp != position){
|
||||||
@@ -1693,8 +1691,11 @@ void CMoviePlayerGui::PlayFileLoop(void)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
eof = 0;
|
eof = 0;
|
||||||
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
#else
|
#if ! HAVE_COOL_HARDWARE
|
||||||
|
else
|
||||||
{
|
{
|
||||||
if (filelist_it == filelist.end() - 1 || filelist_it == filelist.end())
|
if (filelist_it == filelist.end() - 1 || filelist_it == filelist.end())
|
||||||
g_RCInput->postMsg((neutrino_msg_t) g_settings.mpkey_stop, 0);
|
g_RCInput->postMsg((neutrino_msg_t) g_settings.mpkey_stop, 0);
|
||||||
|
Reference in New Issue
Block a user