summaryrefslogtreecommitdiffstats
path: root/libvo/vo_sdl.c
diff options
context:
space:
mode:
authoriive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-26 16:45:21 +0000
committeriive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-26 16:45:21 +0000
commitcc996ad5266526331c9c929c6c180d16ad5ab716 (patch)
tree018b7169ec2f939912023bf7f21c48c516c2a104 /libvo/vo_sdl.c
parente62a51110c62319c23221c05c6a82ae2ca7a4983 (diff)
downloadmpv-cc996ad5266526331c9c929c6c180d16ad5ab716.tar.bz2
mpv-cc996ad5266526331c9c929c6c180d16ad5ab716.tar.xz
fixed green lines caused by missing rounding to 2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5359 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_sdl.c')
-rw-r--r--libvo/vo_sdl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_sdl.c b/libvo/vo_sdl.c
index 5a35899499..42d460e33d 100644
--- a/libvo/vo_sdl.c
+++ b/libvo/vo_sdl.c
@@ -917,7 +917,7 @@ static int setup_surfaces(void)
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;