From 1c96152db3d5a932cbdbc7006ebc695e48628b5a Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 20 Oct 2019 23:13:27 +0200 Subject: f_swscale: enable use of zimg The usual opt-in mechanism. --- filters/f_swscale.c | 1 + 1 file changed, 1 insertion(+) diff --git a/filters/f_swscale.c b/filters/f_swscale.c index 953b5ec77e..07198b1377 100644 --- a/filters/f_swscale.c +++ b/filters/f_swscale.c @@ -142,6 +142,7 @@ struct mp_sws_filter *mp_sws_filter_create(struct mp_filter *parent) s->sws->log = f->log; s->pool = mp_image_pool_new(s); + s->sws->allow_zimg = true; mp_sws_set_from_cmdline(s->sws, f->global); return s; -- cgit v1.2.3