mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-28 14:01:27 +00:00
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(). Originally committed as revision 17673 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
9ef88afac3
commit
47cd974ae5
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user