Mercurial > mplayer.hg
changeset 5358:29b5e5facb53
fixed green lines caused by missing rounding to 2
author | iive |
---|---|
date | Tue, 26 Mar 2002 16:45:21 +0000 |
parents | 3c5d5626d3a1 |
children | a647a4bd5e93 |
files | libvo/vo_sdl.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_sdl.c Tue Mar 26 16:37:42 2002 +0000 +++ b/libvo/vo_sdl.c Tue Mar 26 16:45:21 2002 +0000 @@ -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;