Proresenc: add multithreading support

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Speedy Gonzales 2012-08-13 17:16:47 +02:00 committed by Michael Niedermayer
parent 603221ebd0
commit ffda8f0f0f

View File

@ -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
};