# HG changeset patch # User attila # Date 1062334647 0 # Node ID 07870312c0543912c6778bc807745d3551d34c66 # Parent 713a1ff7046ed699bce8561fe1f43dd214af77fe while we are at it: geometry support for xmga diff -r 713a1ff7046e -r 07870312c054 DOCS/en/mplayer.1 --- a/DOCS/en/mplayer.1 Sun Aug 31 12:33:49 2003 +0000 +++ b/DOCS/en/mplayer.1 Sun Aug 31 12:57:27 2003 +0000 @@ -1658,7 +1658,8 @@ option. The values given must be integers. -Note: This option is only supported by vo x11, xv, xvidix and tdfxfb. +Note: This option is only supported by vo x11, xmga, xv, xvmc, +xvidix and tdfxfb. .I EXAMPLE: .PD 0 diff -r 713a1ff7046e -r 07870312c054 libvo/vo_xmga.c --- a/libvo/vo_xmga.c Sun Aug 31 12:33:49 2003 +0000 +++ b/libvo/vo_xmga.c Sun Aug 31 12:57:27 2003 +0000 @@ -125,6 +125,7 @@ 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); vo_dwidth=d_width; vo_dheight=d_height; vo_mouse_autohide=1; @@ -139,7 +140,7 @@ inited=1; - aspect(&vo_dwidth,&vo_dheight,A_NOZOOM); + aspect(&d_width,&d_height,A_NOZOOM); #ifdef HAVE_NEW_GUI if(use_gui)