From 14c1101518388f0f190c4737ea1b88d8b55b5281 Mon Sep 17 00:00:00 2001 From: Mark Thompson Date: Tue, 21 Mar 2017 22:31:04 +0000 Subject: [PATCH] vaapi_hevc: Mark as async-safe --- libavcodec/vaapi_hevc.c | 2 ++ 1 file changed, 2 insertions(+) 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, };