Mercurial > mplayer.hg
diff libvo/vo_xvidix.c @ 9947:b552e7939ca2
adding geometry support for xvidix
fixing some 10l in geometry.c
author | attila |
---|---|
date | Sun, 20 Apr 2003 15:09:19 +0000 |
parents | 04bd618db347 |
children | e488c51b5a3a |
line wrap: on
line diff
--- a/libvo/vo_xvidix.c Sun Apr 20 14:40:38 2003 +0000 +++ b/libvo/vo_xvidix.c Sun Apr 20 15:09:19 2003 +0000 @@ -238,6 +238,8 @@ vo_dx = 0; vo_dy = 0; + vo_dx=( vo_screenwidth - d_width ) / 2; vo_dy=( vo_screenheight - d_height ) / 2; + geometry(&vo_dx, &vo_dy, &d_width, &d_height, vo_screenwidth, vo_screenheight); window_width = d_width; window_height = d_height; @@ -266,7 +268,6 @@ aspect(&d_width, &d_height, A_NOZOOM); - vo_dx=( vo_screenwidth - d_width ) / 2; vo_dy=( vo_screenheight - d_height ) / 2; vo_dwidth=d_width; vo_dheight=d_height; #ifdef HAVE_NEW_GUI