diff options
author | syrjala <syrjala@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-08-15 00:25:23 +0000 |
---|---|---|
committer | syrjala <syrjala@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-08-15 00:25:23 +0000 |
commit | 5fcaa7d4a17c5b2f1de28ee805d141a2572abd1c (patch) | |
tree | c37c6968a7ccaad39c8e4fbdba6af151aea1dfac | |
parent | 7a1e8266ddf38a721a4285d936b317eb162f6d2b (diff) |
Fixed BES aspect ratio.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13028 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libvo/vo_dfbmga.c | 4 |
1 files 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; |