Mercurial > mplayer.hg
changeset 8743:68a0f5e77257
10l, geometry always returns 1. i think this is the correct fix.
author | rfelker |
---|---|
date | Fri, 03 Jan 2003 18:01:49 +0000 |
parents | 241f40ef5e28 |
children | f3c6f022d6b0 |
files | libvo/vo_xv.c |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_xv.c Fri Jan 03 15:30:57 2003 +0000 +++ b/libvo/vo_xv.c Fri Jan 03 18:01:49 2003 +0000 @@ -281,10 +281,8 @@ vo_mouse_autohide=1; - // Quick fix for handling the geometry option. - if(!geometry(&vo_dx, &vo_dy, vo_screenwidth, vo_screenheight, d_width, d_height,0)) { - vo_dx=( vo_screenwidth - d_width ) / 2; vo_dy=( vo_screenheight - d_height ) / 2; - } + vo_dx=( vo_screenwidth - d_width ) / 2; vo_dy=( vo_screenheight - d_height ) / 2; + geometry(&vo_dx, &vo_dy, vo_screenwidth, vo_screenheight, d_width, d_height,0)) vo_dwidth=d_width; vo_dheight=d_height; #ifdef HAVE_XF86VM