[FFmpeg-cvslog] r17673 - trunk/libavcodec/h264.c
michael
subversion
Sun Mar 1 04:13:04 CET 2009
Author: michael
Date: Sun Mar 1 04:13:04 2009
New Revision: 17673
Log:
Do not set low_delay if has_b_frames has been set before init()
this will be needed once the parser can figure out has_b_frames
in av_find_stream_info().
Modified:
trunk/libavcodec/h264.c
Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c Sun Mar 1 01:23:05 2009 (r17672)
+++ trunk/libavcodec/h264.c Sun Mar 1 04:13:04 2009 (r17673)
@@ -2188,6 +2188,7 @@ static av_cold int decode_init(AVCodecCo
// set defaults
// s->decode_mb= ff_h263_decode_mb;
s->quarter_sample = 1;
+ if(!avctx->has_b_frames)
s->low_delay= 1;
if(s->avctx->codec->capabilities&CODEC_CAP_HWACCEL_VDPAU)
More information about the ffmpeg-cvslog
mailing list