diff options
Diffstat (limited to 'video/out')
-rw-r--r-- | video/out/vo_drm.c | 2 | ||||
-rw-r--r-- | video/out/vo_tct.c | 2 | ||||
-rw-r--r-- | video/out/vo_x11.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/video/out/vo_drm.c b/video/out/vo_drm.c index 24189d5b02..f32ed59b28 100644 --- a/video/out/vo_drm.c +++ b/video/out/vo_drm.c @@ -283,7 +283,7 @@ static int reconfig(struct vo *vo, struct mp_image_params *params) p->osd.mr = MPMIN(0, p->osd.mr); p->osd.ml = MPMIN(0, p->osd.ml); - mp_sws_set_from_cmdline(p->sws, vo->opts->sws_opts); + mp_sws_set_from_cmdline(p->sws, vo->global); p->sws->src = *params; p->sws->dst = (struct mp_image_params) { .imgfmt = IMGFMT, diff --git a/video/out/vo_tct.c b/video/out/vo_tct.c index dbe5d69fb6..6a07786996 100644 --- a/video/out/vo_tct.c +++ b/video/out/vo_tct.c @@ -207,7 +207,7 @@ static int reconfig(struct vo *vo, struct mp_image_params *params) if (p->buffer) free(p->buffer); - mp_sws_set_from_cmdline(p->sws, vo->opts->sws_opts); + mp_sws_set_from_cmdline(p->sws, vo->global); p->sws->src = *params; p->sws->dst = (struct mp_image_params) { .imgfmt = IMGFMT, diff --git a/video/out/vo_x11.c b/video/out/vo_x11.c index 9c7595e1d8..13b22d1bfb 100644 --- a/video/out/vo_x11.c +++ b/video/out/vo_x11.c @@ -244,7 +244,7 @@ static bool resize(struct vo *vo) return -1; } - mp_sws_set_from_cmdline(p->sws, vo->opts->sws_opts); + mp_sws_set_from_cmdline(p->sws, vo->global); p->sws->dst = (struct mp_image_params) { .imgfmt = fmte->mpfmt, .w = p->dst_w, |