[Mplayer-cvslog] CVS: main/libvo vo_sdl.c,1.79,1.80
Ivan Kalvachev
iive at mplayer.dev.hu
Tue Mar 26 17:45:28 CET 2002
Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv6068
Modified Files:
vo_sdl.c
Log Message:
fixed green lines caused by missing rounding to 2
Index: vo_sdl.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_sdl.c,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -r1.79 -r1.80
--- vo_sdl.c 24 Mar 2002 18:42:27 -0000 1.79
+++ vo_sdl.c 26 Mar 2002 16:45:21 -0000 1.80
@@ -917,7 +917,7 @@
surfwidth = priv->width;
surfheight = priv->height + (priv->surface->h - priv->dstheight) / v_scale;
-
+ surfheight&= ~1;
/* Place the image in the middle of the screen */
priv->y = (surfheight - priv->height) / 2;
priv->y_screen_top = priv->y * v_scale;
More information about the MPlayer-cvslog
mailing list