src/gui/movieplayer.cpp some streams need more time pro frame

Origin commit data
------------------
Commit: 92abe90d58
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-03-06 (Mon, 06 Mar 2017)
This commit is contained in:
Jacek Jendrzej
2017-03-06 14:41:25 +01:00
parent 6bf879b03c
commit 251b28acef

View File

@@ -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);
#endif
/* 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){
position_tmp = position ;
eof2 = 0;
}else{
if (++eof2 > 6) {
if (++eof2 > 12) {
at_eof = true;
break;
}