From ffda8f0f0f4fe670d7786950f0533a3484bb991c Mon Sep 17 00:00:00 2001 From: Speedy Gonzales Date: Mon, 13 Aug 2012 17:16:47 +0200 Subject: [PATCH] Proresenc: add multithreading support Signed-off-by: Michael Niedermayer --- libavcodec/proresenc_anatoliy.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/proresenc_anatoliy.c b/libavcodec/proresenc_anatoliy.c index d151ae52cb..e61e8d70e4 100644 --- a/libavcodec/proresenc_anatoliy.c +++ b/libavcodec/proresenc_anatoliy.c @@ -606,6 +606,7 @@ AVCodec ff_prores_anatoliy_encoder = { .encode2 = prores_encode_frame, .pix_fmts = (const enum PixelFormat[]){PIX_FMT_YUV422P10, PIX_FMT_NONE}, .long_name = NULL_IF_CONFIG_SMALL("Apple ProRes"), + .capabilities = CODEC_CAP_FRAME_THREADS | CODEC_CAP_INTRA_ONLY, .profiles = profiles }; @@ -619,5 +620,6 @@ AVCodec ff_prores_encoder = { .encode2 = prores_encode_frame, .pix_fmts = (const enum PixelFormat[]){PIX_FMT_YUV422P10, PIX_FMT_NONE}, .long_name = NULL_IF_CONFIG_SMALL("Apple ProRes"), + .capabilities = CODEC_CAP_FRAME_THREADS | CODEC_CAP_INTRA_ONLY, .profiles = profiles };