mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
avcodec/vp9: Mark decoder as init-threadsafe
It only allocates some AVFrames. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
4818ea69d2
commit
e80d35afa8
@ -1868,7 +1868,7 @@ const AVCodec ff_vp9_decoder = {
|
||||
.close = vp9_decode_free,
|
||||
.decode = vp9_decode_frame,
|
||||
.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS | AV_CODEC_CAP_SLICE_THREADS,
|
||||
.caps_internal = FF_CODEC_CAP_INIT_CLEANUP |
|
||||
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP |
|
||||
FF_CODEC_CAP_SLICE_THREAD_HAS_MF |
|
||||
FF_CODEC_CAP_ALLOCATE_PROGRESS,
|
||||
.flush = vp9_decode_flush,
|
||||
|
Loading…
Reference in New Issue
Block a user