From 9560766a6164ed362e7f274242a024fe7b71d154 Mon Sep 17 00:00:00 2001 From: Mark Thompson Date: Tue, 21 Mar 2017 22:31:21 +0000 Subject: [PATCH] vaapi_vp9: Mark as async-safe --- libavcodec/vaapi_vp9.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/vaapi_vp9.c b/libavcodec/vaapi_vp9.c index a656ffb13c..7374465d49 100644 --- a/libavcodec/vaapi_vp9.c +++ b/libavcodec/vaapi_vp9.c @@ -21,6 +21,8 @@ */ #include "libavutil/pixdesc.h" + +#include "hwaccel.h" #include "vaapi_decode.h" #include "vp9.h" @@ -178,4 +180,5 @@ AVHWAccel ff_vp9_vaapi_hwaccel = { .init = ff_vaapi_decode_init, .uninit = ff_vaapi_decode_uninit, .priv_data_size = sizeof(VAAPIDecodeContext), + .caps_internal = HWACCEL_CAP_ASYNC_SAFE, };