summaryrefslogtreecommitdiffstats
path: root/video/out/vo_x11.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-07-25 23:02:23 +0200
committerwm4 <wm4@nowhere>2013-07-25 23:03:20 +0200
commit9cc5630fd54d9abadd52fdedb1bac30d1b09d99a (patch)
tree3b23a26819021d51e813755a8d6c5f7cef689230 /video/out/vo_x11.c
parent24e50ee74e69ff4c4f66510360a611f612c0f140 (diff)
downloadmpv-9cc5630fd54d9abadd52fdedb1bac30d1b09d99a.tar.bz2
mpv-9cc5630fd54d9abadd52fdedb1bac30d1b09d99a.tar.xz
video: support setting libswscale chroma position
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;