summaryrefslogtreecommitdiffstats
path: root/video/out
diff options
context:
space:
mode:
Diffstat (limited to 'video/out')
-rw-r--r--video/out/gl_hwdec_vda.c1
-rw-r--r--video/out/vo_opengl_cb.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/video/out/gl_hwdec_vda.c b/video/out/gl_hwdec_vda.c
index bc18983d3d..181674f641 100644
--- a/video/out/gl_hwdec_vda.c
+++ b/video/out/gl_hwdec_vda.c
@@ -89,6 +89,7 @@ static int create(struct gl_hwdec *hw)
return -1;
hw->hwctx = &p->hwctx;
+ hw->hwctx->type = HWDEC_VDA;
hw->hwctx->download_image = download_image;
GL *gl = hw->gl;
diff --git a/video/out/vo_opengl_cb.c b/video/out/vo_opengl_cb.c
index cee0bc1d46..7334d31add 100644
--- a/video/out/vo_opengl_cb.c
+++ b/video/out/vo_opengl_cb.c
@@ -27,8 +27,6 @@
#include "gl_video.h"
#include "gl_hwdec.h"
-#include "video/decode/lavc.h" // HWDEC_* values
-
#include "libmpv/opengl_cb.h"
/*