summaryrefslogtreecommitdiffstats
path: root/video/out/vo_x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo_x11.c')
-rw-r--r--video/out/vo_x11.c2
1 files changed, 1 insertions, 1 deletions
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,