[Mplayer-cvslog] CVS: main/libvo vo_dfbmga.c,1.18,1.19

Ville Syrjälä CVS syncmail at mplayerhq.hu
Sun Aug 15 02:25:26 CEST 2004


CVS change done by Ville Syrjälä CVS

Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv27117

Modified Files:
	vo_dfbmga.c 
Log Message:
Fixed BES aspect ratio.

Index: vo_dfbmga.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_dfbmga.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- vo_dfbmga.c	15 Aug 2004 00:12:34 -0000	1.18
+++ vo_dfbmga.c	15 Aug 2004 00:25:23 -0000	1.19
@@ -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;
 




More information about the MPlayer-cvslog mailing list