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