summaryrefslogtreecommitdiffstats
path: root/video/out/hwdec/dmabuf_interop.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/hwdec/dmabuf_interop.h')
-rw-r--r--video/out/hwdec/dmabuf_interop.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/hwdec/dmabuf_interop.h b/video/out/hwdec/dmabuf_interop.h
index 65c7845e31..1a3c2c74b3 100644
--- a/video/out/hwdec/dmabuf_interop.h
+++ b/video/out/hwdec/dmabuf_interop.h
@@ -17,7 +17,7 @@
#pragma once
-#include <va/va_drmcommon.h>
+#include <libavutil/hwcontext_drm.h>
#include "config.h"
#include "video/out/gpu/hwdec.h"
@@ -40,7 +40,7 @@ struct priv {
struct mp_image layout;
struct ra_tex *tex[4];
- VADRMPRIMESurfaceDescriptor desc;
+ AVDRMFrameDescriptor desc;
bool surface_acquired;
void *interop_mapper_priv;