From d956bbc065d570f425f402c83d69957584591dbd Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 11 Jan 2014 18:44:27 +0100 Subject: video/out: simplify monitor aspect handling For some reason, this made all VO backends both set the screen resolution in opts->screenwidth/height, and call aspect_save_screenres(). Remove the latter. Move the code to calculate the PAR-corrected window size from aspect.c to vo.c, and make it so that the monitor PAR is recalculated when it makes sense. --- video/out/x11_common.c | 1 - 1 file changed, 1 deletion(-) (limited to 'video/out/x11_common.c') diff --git a/video/out/x11_common.c b/video/out/x11_common.c index 2c25c19437..8bdc845523 100644 --- a/video/out/x11_common.c +++ b/video/out/x11_common.c @@ -470,7 +470,6 @@ static void vo_x11_update_screeninfo(struct vo *vo) XFree(screens); } #endif - aspect_save_screenres(vo, opts->screenwidth, opts->screenheight); } int vo_x11_init(struct vo *vo) -- cgit v1.2.3