export low_delay for encoding too

Originally committed as revision 3170 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2004-05-29 15:16:52 +00:00
parent 42feef6b70
commit 5751815562

View File

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