vaapi_vp9: Mark as async-safe
authorMark Thompson <sw@jkqxz.net>
Tue, 21 Mar 2017 22:31:21 +0000 (22:31 +0000)
committerMark Thompson <sw@jkqxz.net>
Wed, 22 Mar 2017 19:07:32 +0000 (19:07 +0000)
libavcodec/vaapi_vp9.c

index a656ffb..7374465 100644 (file)
@@ -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,
 };