mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
src/gui/movieplayer.cpp some streams need more time pro frame
This commit is contained in:
@@ -1323,12 +1323,12 @@ void CMoviePlayerGui::PlayFileLoop(void)
|
|||||||
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
|
||||||
/* in case ffmpeg report incorrect values */
|
/* in case ffmpeg report incorrect values */
|
||||||
if((playstate == CMoviePlayerGui::PLAY) && (speed == 1)){
|
if(file_prozent > 96 && (playstate == CMoviePlayerGui::PLAY) && (speed == 1)){
|
||||||
if(position_tmp != position){
|
if(position_tmp != position){
|
||||||
position_tmp = position ;
|
position_tmp = position ;
|
||||||
eof2 = 0;
|
eof2 = 0;
|
||||||
}else{
|
}else{
|
||||||
if (++eof2 > 6) {
|
if (++eof2 > 12) {
|
||||||
at_eof = true;
|
at_eof = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user