summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/hwdec_dxva2.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/opengl/hwdec_dxva2.c')
-rw-r--r--video/out/opengl/hwdec_dxva2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/video/out/opengl/hwdec_dxva2.c b/video/out/opengl/hwdec_dxva2.c
index aba442b653..f72c817a20 100644
--- a/video/out/opengl/hwdec_dxva2.c
+++ b/video/out/opengl/hwdec_dxva2.c
@@ -55,7 +55,8 @@ static int map_image(struct gl_hwdec *hw, struct mp_image *hw_image,
}
const struct gl_hwdec_driver gl_hwdec_dxva2 = {
- .api_name = "dxva2",
+ .name = "dxva2-dummy",
+ .api = HWDEC_DXVA2_COPY,
.imgfmt = -1,
.create = create,
.reinit = reinit,