summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--video/out/opengl/hwdec_dxva2egl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/video/out/opengl/hwdec_dxva2egl.c b/video/out/opengl/hwdec_dxva2egl.c
index f2c15145ef..eed942618c 100644
--- a/video/out/opengl/hwdec_dxva2egl.c
+++ b/video/out/opengl/hwdec_dxva2egl.c
@@ -202,9 +202,7 @@ static int create(struct gl_hwdec *hw)
goto fail;
}
- hw->converted_imgfmt = p->alpha ? IMGFMT_RGBA : IMGFMT_RGB0;
- MP_VERBOSE(hw, "Using image format %s\n",
- mp_imgfmt_to_name(hw->converted_imgfmt));
+ hw->converted_imgfmt = IMGFMT_RGB0;
p->ctx.d3d9_device = (IDirect3DDevice9 *)p->device9ex;
p->ctx.hwctx.type = HWDEC_DXVA2;