mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
avcodec: Add FF_CODEC_CAP_NOT_INIT_THREADSAFE
This is in preparation of switching the default init-thread-safety to a codec being init-thread-safe. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
c597510434
commit
6aad1204cc
62 changed files with 117 additions and 37 deletions
|
|
@ -575,7 +575,8 @@ const FFCodec ff_mjpeg_vaapi_encoder = {
|
|||
.close = &vaapi_encode_mjpeg_close,
|
||||
.p.priv_class = &vaapi_encode_mjpeg_class,
|
||||
.p.capabilities = AV_CODEC_CAP_HARDWARE | AV_CODEC_CAP_DR1,
|
||||
.caps_internal = FF_CODEC_CAP_INIT_CLEANUP,
|
||||
.caps_internal = FF_CODEC_CAP_NOT_INIT_THREADSAFE |
|
||||
FF_CODEC_CAP_INIT_CLEANUP,
|
||||
.defaults = vaapi_encode_mjpeg_defaults,
|
||||
.p.pix_fmts = (const enum AVPixelFormat[]) {
|
||||
AV_PIX_FMT_VAAPI,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue