1
mirror of https://github.com/mpv-player/mpv synced 2024-11-18 21:16:10 +01:00

fixed green lines caused by missing rounding to 2

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5359 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
iive 2002-03-26 16:45:21 +00:00
parent e62a51110c
commit cc996ad526

View File

@ -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;