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:
parent
5e2779b2da
commit
50f263990a
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user