[FFmpeg-cvslog] vaapi_hevc: 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:04 2017 +0000| [14c1101518388f0f190c4737ea1b88d8b55b5281] | committer: Mark Thompson
vaapi_hevc: Mark as async-safe
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=14c1101518388f0f190c4737ea1b88d8b55b5281
---
libavcodec/vaapi_hevc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/vaapi_hevc.c b/libavcodec/vaapi_hevc.c
index 2b0e8ff..34d3279 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,
};
More information about the ffmpeg-cvslog
mailing list