1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-09 16:37:24 +00:00

vo_drm: allow use of zimg

This commit is contained in:
wm4 2019-10-25 15:25:49 +02:00
parent 5e2779b2da
commit 50f263990a

View File

@ -304,6 +304,7 @@ static int reconfig(struct vo *vo, struct mp_image_params *params)
int h = p->dst.y1 - p->dst.y0;
mp_sws_set_from_cmdline(p->sws, vo->global);
p->sws->allow_zimg = true;
p->sws->src = *params;
p->sws->dst = (struct mp_image_params) {
.imgfmt = p->imgfmt,