[FFmpeg-cvslog] r25824 - trunk/libavformat/utils.c

Aurelien Jacobs aurel
Sat Nov 27 02:32:31 CET 2010


On Thu, Nov 25, 2010 at 03:19:04AM +0100, bcoudurier wrote:
> 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)

It seems this commit modified the result of one of the fate test
(h264-conformance-frext-frext_mmco4_sony_b).

Aurel



More information about the ffmpeg-cvslog mailing list