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/aspect.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'video/out/aspect.h') diff --git a/video/out/aspect.h b/video/out/aspect.h index 8455985153..afff7e5dcb 100644 --- a/video/out/aspect.h +++ b/video/out/aspect.h @@ -23,9 +23,6 @@ struct vo; void aspect_save_videores(struct vo *vo, int w, int h, int d_w, int d_h); -void aspect_save_screenres(struct vo *vo, int scrw, int scrh); - -void aspect_calc_monitor(struct vo *vo, int *w, int *h); void aspect_calc_panscan(struct vo *vo, int *out_w, int *out_h); #endif /* MPLAYER_ASPECT_H */ -- cgit v1.2.3