summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-10-25 15:25:49 +0200
committerwm4 <wm4@nowhere>2019-10-25 15:25:49 +0200
commit50f263990a5124b8aa2afd3729fadd742ea21523 (patch)
treed8acfa6fd4be4fd1a5ce2b87f1ac996b09f0735d
parent5e2779b2da089dda8f7e0e1814a37cdd2dffa357 (diff)
downloadmpv-50f263990a5124b8aa2afd3729fadd742ea21523.tar.bz2
mpv-50f263990a5124b8aa2afd3729fadd742ea21523.tar.xz
vo_drm: allow use of zimg
-rw-r--r--video/out/vo_drm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/vo_drm.c b/video/out/vo_drm.c
index ce48779a82..83dede468c 100644
--- a/video/out/vo_drm.c
+++ b/video/out/vo_drm.c
@@ -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,