summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorsyrjala <syrjala@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-08-15 00:25:23 +0000
committersyrjala <syrjala@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-08-15 00:25:23 +0000
commit5fcaa7d4a17c5b2f1de28ee805d141a2572abd1c (patch)
treec37c6968a7ccaad39c8e4fbdba6af151aea1dfac /libvo
parent7a1e8266ddf38a721a4285d936b317eb162f6d2b (diff)
downloadmpv-5fcaa7d4a17c5b2f1de28ee805d141a2572abd1c.tar.bz2
mpv-5fcaa7d4a17c5b2f1de28ee805d141a2572abd1c.tar.xz
Fixed BES aspect ratio.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13028 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_dfbmga.c4
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;