diff options
author | billdoor1 <56963071+billdoor1@users.noreply.github.com> | 2023-08-02 20:26:00 +0200 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-08-02 18:51:02 +0000 |
commit | 30bf811a8f230e2a84494eaebc82e51b125cbff5 (patch) | |
tree | 90c925a52e81a6852e116f0268db69941d66442e /video | |
parent | af9eac654e03aa21691d6354ae3b5fcc0c6097d9 (diff) | |
download | mpv-30bf811a8f230e2a84494eaebc82e51b125cbff5.tar.bz2 mpv-30bf811a8f230e2a84494eaebc82e51b125cbff5.tar.xz |
vo_vdpau: set hwdec image format
Diffstat (limited to 'video')
-rw-r--r-- | video/out/vo_vdpau.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |