X-Git-Url: https://git.videolan.org/?p=ffmpeg.git;a=blobdiff_plain;f=libavcodec%2Fvaapi_hevc.c;h=34d32795b7a09301a92762ac72b40a0833d66f71;hp=2b0e8ff326f4cb0dee63647859f228e1fab3d8c7;hb=14c1101518388f0f190c4737ea1b88d8b55b5281;hpb=adb54e59c18db347f39e55832104fc3e40a3c42b 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, };