[FFmpeg-cvslog] vaapi_vp9: Mark as async-safe

Mark Thompson git at videolan.org
Wed Mar 22 23:17:34 EET 2017


ffmpeg | branch: master | Mark Thompson <sw at jkqxz.net> | Tue Mar 21 22:31:21 2017 +0000| [9560766a6164ed362e7f274242a024fe7b71d154] | committer: Mark Thompson

vaapi_vp9: Mark as async-safe

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9560766a6164ed362e7f274242a024fe7b71d154
---

 libavcodec/vaapi_vp9.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavcodec/vaapi_vp9.c b/libavcodec/vaapi_vp9.c
index a656ffb..7374465 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,
 };



More information about the ffmpeg-cvslog mailing list