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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/vo_x11.c b/video/out/vo_x11.c
index 6eef918b9e..e5def2fc9a 100644
--- a/video/out/vo_x11.c
+++ b/video/out/vo_x11.c
@@ -387,6 +387,7 @@ static bool resize(struct vo *vo)
.d_w = p->dst_w,
.d_h = p->dst_h,
};
+ mp_image_params_guess_csp(&p->sws->dst);
if (mp_sws_reinit(p->sws) < 0)
return false;