]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/vdpau_h264.c
qsvdec: do not sync PIX_FMT_QSV surfaces
[ffmpeg] / libavcodec / vdpau_h264.c
index 34dc630efcc3cc8160702dfe77ab681520cd5290..a18941848a2810b26a0a9721c217171f7c154913 100644 (file)
@@ -26,6 +26,8 @@
 #include "avcodec.h"
 #include "internal.h"
 #include "h264dec.h"
+#include "h264_ps.h"
+#include "hwaccel.h"
 #include "mpegutils.h"
 #include "vdpau.h"
 #include "vdpau_internal.h"
@@ -272,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,
 };