while we are at it: geometry support for xmga
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10730 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
1 parent
8a7b7a430d
commit
8a06bf7da7
2 files changed
+4
-2
No files matched your search
+2
-1
@@ -1658,7 +1658,8 @@ It also supports the standard option format to the standard X \-geometry
|
||||
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
|
||||
|
||||
+2
-1
@@ -125,6 +125,7 @@ static uint32_t config( uint32_t width, uint32_t height, uint32_t d_width, uint3
|
||||
|
||||
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 @@ static uint32_t config( uint32_t width, uint32_t height, uint32_t d_width, uint3
|
||||
|
||||
inited=1;
|
||||
|
||||
aspect(&vo_dwidth,&vo_dheight,A_NOZOOM);
|
||||
aspect(&d_width,&d_height,A_NOZOOM);
|
||||
|
||||
#ifdef HAVE_NEW_GUI
|
||||
if(use_gui)
|
||||
|
||||
Reference in new issue
Block a user