aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpeg4videoenc.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@google.com>2011-04-20 14:14:42 -0400
committerRonald S. Bultje <rsbultje@gmail.com>2011-04-21 19:42:19 -0400
commit94f7451a3a5ad61cd49da0aa9f08cefe75482007 (patch)
treedde7d51bb68563d316ca285e19bd68fa326e925a /libavcodec/mpeg4videoenc.c
parent3283f274fdbef16d13df06661cec601e1bc01aab (diff)
downloadffmpeg-94f7451a3a5ad61cd49da0aa9f08cefe75482007.tar.gz
Introduce slice threads flag.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavcodec/mpeg4videoenc.c')
-rw-r--r--libavcodec/mpeg4videoenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpeg4videoenc.c b/libavcodec/mpeg4videoenc.c
index 134894c112..33ecc0ae46 100644
--- a/libavcodec/mpeg4videoenc.c
+++ b/libavcodec/mpeg4videoenc.c
@@ -1347,6 +1347,6 @@ AVCodec ff_mpeg4_encoder = {
MPV_encode_picture,
MPV_encode_end,
.pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE},
- .capabilities= CODEC_CAP_DELAY,
+ .capabilities= CODEC_CAP_DELAY | CODEC_CAP_SLICE_THREADS,
.long_name= NULL_IF_CONFIG_SMALL("MPEG-4 part 2"),
};