summaryrefslogtreecommitdiffstats
path: root/libvo/vo_xmga.c
diff options
context:
space:
mode:
authorattila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-08-31 12:57:27 +0000
committerattila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-08-31 12:57:27 +0000
commit8a06bf7da79d211cd9db8a08a473fab9cf39d2a4 (patch)
tree7aa47bfeffb694f48ae9490011028dcbe6cd86d0 /libvo/vo_xmga.c
parent8a7b7a430dac11b1295ccad96e97ae059e3de2ce (diff)
downloadmpv-8a06bf7da79d211cd9db8a08a473fab9cf39d2a4.tar.bz2
mpv-8a06bf7da79d211cd9db8a08a473fab9cf39d2a4.tar.xz
while we are at it: geometry support for xmga
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10730 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_xmga.c')
-rw-r--r--libvo/vo_xmga.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libvo/vo_xmga.c b/libvo/vo_xmga.c
index b60d174713..722bbba5b1 100644
--- a/libvo/vo_xmga.c
+++ b/libvo/vo_xmga.c
@@ -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)