From bc8038cffd2b2181f19fa9b07a99b61eba1fe6a1 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Mon, 11 Mar 2024 20:40:24 +0100 Subject: vo_{drm,wlshm,x11}: add support for video-target-params --- video/out/vo_x11.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'video/out/vo_x11.c') diff --git a/video/out/vo_x11.c b/video/out/vo_x11.c index fa9315726d..b637b59e23 100644 --- a/video/out/vo_x11.c +++ b/video/out/vo_x11.c @@ -266,6 +266,10 @@ static bool resize(struct vo *vo) if (mp_sws_reinit(p->sws) < 0) return false; + + mp_mutex_lock(&vo->params_mutex); + vo->target_params = &p->sws->dst; + mp_mutex_unlock(&vo->params_mutex); } vo->want_redraw = true; -- cgit v1.2.3