From 30bf811a8f230e2a84494eaebc82e51b125cbff5 Mon Sep 17 00:00:00 2001 From: billdoor1 <56963071+billdoor1@users.noreply.github.com> Date: Wed, 2 Aug 2023 20:26:00 +0200 Subject: [PATCH] vo_vdpau: set hwdec image format --- video/out/vo_vdpau.c | 1 + 1 file changed, 1 insertion(+) diff --git a/video/out/vo_vdpau.c b/video/out/vo_vdpau.c index d0ce4045c1..1ccfe1d84f 100644 --- a/video/out/vo_vdpau.c +++ b/video/out/vo_vdpau.c @@ -1028,6 +1028,7 @@ static int preinit(struct vo *vo) vo_x11_uninit(vo); return -1; } + vc->mpvdp->hwctx.hw_imgfmt = IMGFMT_VDPAU; vo->hwdec_devs = hwdec_devices_create(); hwdec_devices_add(vo->hwdec_devs, &vc->mpvdp->hwctx);