[Mplayer-cvslog] CVS: main/libvo vo_x11.c,1.34,1.35
Arpi of Ize
arpi at mplayer.dev.hu
Fri Oct 19 04:21:40 CEST 2001
Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv9464
Modified Files:
vo_x11.c
Log Message:
xinc scaled by 16 instead of 8
Index: vo_x11.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_x11.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- vo_x11.c 17 Oct 2001 10:54:34 -0000 1.34
+++ vo_x11.c 19 Oct 2001 02:21:38 -0000 1.35
@@ -178,11 +178,11 @@
image_width=vo_screenwidth;
image_height=vo_screenheight;
} else {
- image_width=d_width&(~3);
+ image_width=d_width&(~7);
image_height=d_height;
}
- scale_xinc=(width << 8) / image_width - 1; // -1 needed for proper rounding
- scale_yinc=(height << 16) / image_height;
+ scale_xinc=(width << 16) / image_width - 2; // needed for proper rounding
+ scale_yinc=(height << 16) / image_height +2;
SwScale_Init();
}
More information about the MPlayer-cvslog
mailing list