diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-08-04 15:36:51 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-08-04 15:42:44 +0200 |
commit | b288b4c63f32f34dce81ceb50fa1f3a31ef2960d (patch) | |
tree | cc8e055d07f9366c0c227e0e9a98445b0101ee34 /libavformat/utils.c | |
parent | c91ca5b95d0ede47a5142f98e710a9bf83ba8242 (diff) | |
download | ffmpeg-b288b4c63f32f34dce81ceb50fa1f3a31ef2960d.tar.gz |
has_decode_delay_been_guessed: adjust value for has_b_frames=0
needed for a mkv file
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 86e5408c42..4926b57e9e 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 |