export low_delay for encoding too

Originally committed as revision 3170 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 21 years ago
parent 42feef6b70
commit 5751815562
  1. 2
      libavcodec/mpegvideo.c

@ -1156,6 +1156,8 @@ int MPV_encode_init(AVCodecContext *avctx)
default:
return -1;
}
avctx->has_b_frames= !s->low_delay;
s->encoding = 1;

Loading…
Cancel
Save