]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/vdpau_h264.c
Merge commit '43717469f9daa402f6acb48997255827a56034e9'
[ffmpeg] / libavcodec / vdpau_h264.c
index 7265af2890e53b4b404022e414e0fcb9ac86e7c5..be6ba7143334883d4270a56025f615b3fbb31ac5 100644 (file)
@@ -27,6 +27,7 @@
 #include "internal.h"
 #include "h264dec.h"
 #include "h264_ps.h"
+#include "hwaccel.h"
 #include "mpegutils.h"
 #include "vdpau.h"
 #include "vdpau_internal.h"
@@ -273,4 +274,5 @@ AVHWAccel ff_h264_vdpau_hwaccel = {
     .init           = vdpau_h264_init,
     .uninit         = ff_vdpau_common_uninit,
     .priv_data_size = sizeof(VDPAUContext),
+    .caps_internal  = HWACCEL_CAP_ASYNC_SAFE,
 };