summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-05-29 15:16:52 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-05-29 15:16:52 +0000
commit575181556259ca3a69a17a544a0ab3b45c4fec61 (patch)
treee66289ca398ce72c731840362a5e363d1f064559 /libavcodec
parent42feef6b7074c0498b8a9d3c8b8e4da786eb0bf7 (diff)
export low_delay for encoding too
Originally committed as revision 3170 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/mpegvideo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index e9dfaf3a6a..069194d182 100644
--- a/libavcodec/mpegvideo.c
+++ b/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;