diff options
author | Mark Thompson <sw@jkqxz.net> | 2017-03-21 22:31:04 +0000 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2017-03-22 19:07:32 +0000 |
commit | 14c1101518388f0f190c4737ea1b88d8b55b5281 (patch) | |
tree | b2464a91c68bf0b170f79115d52165f735bb2cbb /libavcodec/vaapi_hevc.c | |
parent | 81b7deab8296f8446a64e20b9fcaf8eba88b9e29 (diff) | |
download | ffmpeg-14c1101518388f0f190c4737ea1b88d8b55b5281.tar.gz |
vaapi_hevc: Mark as async-safe
Diffstat (limited to 'libavcodec/vaapi_hevc.c')
-rw-r--r-- | libavcodec/vaapi_hevc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/vaapi_hevc.c b/libavcodec/vaapi_hevc.c index 2b0e8ff326..34d32795b7 100644 --- a/libavcodec/vaapi_hevc.c +++ b/libavcodec/vaapi_hevc.c @@ -25,6 +25,7 @@ #include "avcodec.h" #include "hevc.h" +#include "hwaccel.h" #include "vaapi_decode.h" typedef struct VAAPIDecodePictureHEVC { @@ -434,4 +435,5 @@ AVHWAccel ff_hevc_vaapi_hwaccel = { .init = ff_vaapi_decode_init, .uninit = ff_vaapi_decode_uninit, .priv_data_size = sizeof(VAAPIDecodeContext), + .caps_internal = HWACCEL_CAP_ASYNC_SAFE, }; |