[FFmpeg-cvslog] has_decode_delay_been_guessed: adjust value for has_b_frames=0

Michael Niedermayer git at videolan.org
Sat Aug 4 15:50:46 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Aug  4 15:36:51 2012 +0200| [b288b4c63f32f34dce81ceb50fa1f3a31ef2960d] | committer: Michael Niedermayer

has_decode_delay_been_guessed: adjust value for has_b_frames=0

needed for a mkv file

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b288b4c63f32f34dce81ceb50fa1f3a31ef2960d
---

 libavformat/utils.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/utils.c b/libavformat/utils.c
index 86e5408..4926b57 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -910,7 +910,7 @@ static int has_decode_delay_been_guessed(AVStream *st)
         return 1;
 #endif
     if(st->codec->has_b_frames<3)
-        return st->info->nb_decoded_frames >= 6;
+        return st->info->nb_decoded_frames >= 7;
     else if(st->codec->has_b_frames<4)
         return st->info->nb_decoded_frames >= 18;
     else



More information about the ffmpeg-cvslog mailing list