[FFmpeg-devel] [PATCH 4/4] vaapi_vp9: Mark as async-safe
Mark Thompson
sw at jkqxz.net
Wed Mar 22 00:43:58 EET 2017
---
This was missed in e0cd598bc4684654d63942e9ff4872c0b48a7dc2 because it isn't in libav.
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,
};
--
2.11.0
More information about the ffmpeg-devel
mailing list