From 5fcaa7d4a17c5b2f1de28ee805d141a2572abd1c Mon Sep 17 00:00:00 2001 From: syrjala Date: Sun, 15 Aug 2004 00:25:23 +0000 Subject: Fixed BES aspect ratio. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13028 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_dfbmga.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libvo/vo_dfbmga.c b/libvo/vo_dfbmga.c index 2458f1bec1..135294c85e 100644 --- a/libvo/vo_dfbmga.c +++ b/libvo/vo_dfbmga.c @@ -601,8 +601,8 @@ config( uint32_t width, uint32_t height, if (use_bes) { aspect_save_screenres( 0x10000, 0x10000 ); aspect( &out_width, &out_height, A_ZOOM ); - besrect.x = (0x10000 - out_width) * in_width / 0x10000 / 2; - besrect.y = (0x10000 - out_height) * in_height / 0x10000 / 2; + besrect.x = (0x10000 - out_width) * in_width / out_width / 2; + besrect.y = (0x10000 - out_height) * in_height / out_height / 2; besrect.w = in_width; besrect.h = in_height; -- cgit v1.2.3