You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-16 22:42:38 +02:00
avcodec/proresenc_anatoliy: Mark encoders as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
committed by
Andreas Rheinhardt
parent
659c2aa35c
commit
0ca016ea93
@ -957,7 +957,7 @@ const AVCodec ff_prores_aw_encoder = {
|
|||||||
.capabilities = AV_CODEC_CAP_FRAME_THREADS,
|
.capabilities = AV_CODEC_CAP_FRAME_THREADS,
|
||||||
.priv_class = &proresaw_enc_class,
|
.priv_class = &proresaw_enc_class,
|
||||||
.profiles = NULL_IF_CONFIG_SMALL(ff_prores_profiles),
|
.profiles = NULL_IF_CONFIG_SMALL(ff_prores_profiles),
|
||||||
.caps_internal = FF_CODEC_CAP_INIT_CLEANUP,
|
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP,
|
||||||
};
|
};
|
||||||
|
|
||||||
const AVCodec ff_prores_encoder = {
|
const AVCodec ff_prores_encoder = {
|
||||||
@ -973,5 +973,5 @@ const AVCodec ff_prores_encoder = {
|
|||||||
.capabilities = AV_CODEC_CAP_FRAME_THREADS,
|
.capabilities = AV_CODEC_CAP_FRAME_THREADS,
|
||||||
.priv_class = &prores_enc_class,
|
.priv_class = &prores_enc_class,
|
||||||
.profiles = NULL_IF_CONFIG_SMALL(ff_prores_profiles),
|
.profiles = NULL_IF_CONFIG_SMALL(ff_prores_profiles),
|
||||||
.caps_internal = FF_CODEC_CAP_INIT_CLEANUP,
|
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP,
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user