Mercurial > mplayer.hg
changeset 8738:a9170a2ab0a4
-geometry support
patch by Henk <henk@god.dyndns.org>
author | arpi |
---|---|
date | Fri, 03 Jan 2003 13:18:22 +0000 |
parents | 8fd62b14cbc0 |
children | 66f3204117d6 |
files | libvo/vo_xv.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_xv.c Fri Jan 03 12:53:48 2003 +0000 +++ b/libvo/vo_xv.c Fri Jan 03 13:18:22 2003 +0000 @@ -281,7 +281,10 @@ vo_mouse_autohide=1; - vo_dx=( vo_screenwidth - d_width ) / 2; vo_dy=( vo_screenheight - d_height ) / 2; + // 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_dwidth=d_width; vo_dheight=d_height; #ifdef HAVE_XF86VM