[FFmpeg-cvslog] r25824 - trunk/libavformat/utils.c
bcoudurier
subversion
Thu Nov 25 03:19:04 CET 2010
Author: bcoudurier
Date: Thu Nov 25 03:19:03 2010
New Revision: 25824
Log:
In av_find_stream_info, decode more h264 to get correct delay, issue #2020
Modified:
trunk/libavformat/utils.c
Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c Thu Nov 25 01:55:02 2010 (r25823)
+++ trunk/libavformat/utils.c Thu Nov 25 03:19:03 2010 (r25824)
@@ -2051,7 +2051,7 @@ static int has_codec_parameters(AVCodecC
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)
More information about the ffmpeg-cvslog
mailing list