Commit 0621f664 authored by michael's avatar michael

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().


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17673 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent d32067d1
......@@ -2188,6 +2188,7 @@ static av_cold int decode_init(AVCodecContext *avctx){
// 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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment