diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2010-11-25 02:19:03 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2010-11-25 02:19:03 +0000 |
commit | 581ba2cee10defd479a3db93822013dfc949847d (patch) | |
tree | 708b26f7c97e72e1b45c2dc9a5fb0ac16a452ead | |
parent | c538eb51c6e69e84abcca69601e74d14837f64e1 (diff) | |
download | ffmpeg-581ba2cee10defd479a3db93822013dfc949847d.tar.gz |
In av_find_stream_info, decode more h264 to get correct delay, issue #2020
Originally committed as revision 25824 to svn://svn.ffmpeg.org/ffmpeg/trunk
-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 066da547f3..44d1c62592 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -2051,7 +2051,7 @@ static int has_codec_parameters(AVCodecContext *enc) static int has_decode_delay_been_guessed(AVStream *st) { return st->codec->codec_id != CODEC_ID_H264 || - st->codec_info_nb_frames >= 4 + st->codec->has_b_frames; + st->codec_info_nb_frames >= 6 + st->codec->has_b_frames; } static int try_decode_frame(AVStream *st, AVPacket *avpkt) |