summaryrefslogtreecommitdiff
path: root/libavcodec/proresenc_kostya.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2017-06-26 09:11:03 +0200
committerPaul B Mahol <onemda@gmail.com>2017-06-26 09:11:03 +0200
commit915be7e13a0ee6e7e53f5044d701141a1cc11382 (patch)
tree104c1d0ba1119e165c94876a0db75e1d3e3465fc /libavcodec/proresenc_kostya.c
parent7d317d4706b49d572a1eb5269438753be18362c7 (diff)
downloadffmpeg-915be7e13a0ee6e7e53f5044d701141a1cc11382.tar.gz
avcodec/proresenc_kostya: enable frame threading
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/proresenc_kostya.c')
-rw-r--r--libavcodec/proresenc_kostya.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/proresenc_kostya.c b/libavcodec/proresenc_kostya.c
index 9f0c23403c..09bb6110d3 100644
--- a/libavcodec/proresenc_kostya.c
+++ b/libavcodec/proresenc_kostya.c
@@ -1350,7 +1350,7 @@ AVCodec ff_prores_ks_encoder = {
.init = encode_init,
.close = encode_close,
.encode2 = encode_frame,
- .capabilities = AV_CODEC_CAP_SLICE_THREADS,
+ .capabilities = AV_CODEC_CAP_SLICE_THREADS | AV_CODEC_CAP_FRAME_THREADS | AV_CODEC_CAP_INTRA_ONLY,
.pix_fmts = (const enum AVPixelFormat[]) {
AV_PIX_FMT_YUV422P10, AV_PIX_FMT_YUV444P10,
AV_PIX_FMT_YUVA444P10, AV_PIX_FMT_NONE