aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Gisquet <christophe.gisquet@gmail.com>2014-10-15 18:37:34 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-10-28 12:48:58 +0100
commitbeb944786e62f204c68883e22a98de9e877ca7de (patch)
treeea60bb04da46ed89033c427092b19158a4293b6c
parent4fa772acbbac6467165de1ea67a7f303a029cb1d (diff)
downloadffmpeg-beb944786e62f204c68883e22a98de9e877ca7de.tar.gz
dvenc: mark encoder as intra
And thus allow various multithreading. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/dvenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dvenc.c b/libavcodec/dvenc.c
index a3868c4e1a..5d810e3bf5 100644
--- a/libavcodec/dvenc.c
+++ b/libavcodec/dvenc.c
@@ -758,7 +758,7 @@ AVCodec ff_dvvideo_encoder = {
.init = dvvideo_encode_init,
.encode2 = dvvideo_encode_frame,
.close = dvvideo_encode_close,
- .capabilities = CODEC_CAP_SLICE_THREADS,
+ .capabilities = CODEC_CAP_SLICE_THREADS | CODEC_CAP_FRAME_THREADS | CODEC_CAP_INTRA_ONLY,
.pix_fmts = (const enum AVPixelFormat[]) {
AV_PIX_FMT_YUV411P, AV_PIX_FMT_YUV422P,
AV_PIX_FMT_YUV420P, AV_PIX_FMT_NONE