Mercurial > mplayer.hg
changeset 13027:1b340f237bad
Fixed BES aspect ratio.
author | syrjala |
---|---|
date | Sun, 15 Aug 2004 00:25:23 +0000 |
parents | ac2713aff2a7 |
children | af8947c0c440 |
files | libvo/vo_dfbmga.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_dfbmga.c Sun Aug 15 00:12:34 2004 +0000 +++ b/libvo/vo_dfbmga.c Sun Aug 15 00:25:23 2004 +0000 @@ -601,8 +601,8 @@ 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;