summaryrefslogtreecommitdiffstats
path: root/libvo/x11_common.c
diff options
context:
space:
mode:
authorfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-05-01 14:52:15 +0000
committerfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-05-01 14:52:15 +0000
commita011baa532a11a0f4327325e55a831047d2947bb (patch)
tree4450d050cf2a3913acdf6586501fe4103300a2f7 /libvo/x11_common.c
parent7dee0c9d8d10f0184ce2262bebf54cbc62fd8482 (diff)
downloadmpv-a011baa532a11a0f4327325e55a831047d2947bb.tar.bz2
mpv-a011baa532a11a0f4327325e55a831047d2947bb.tar.xz
keepaspect and nokeepaspect are now useable by all vos
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12372 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/x11_common.c')
-rw-r--r--libvo/x11_common.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c
index c667bf7b8f..e70cebf185 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -103,8 +103,6 @@ static int vo_old_y = 0;
static int vo_old_width = 0;
static int vo_old_height = 0;
-int vo_x11_keepaspect = 1;
-
#ifdef HAVE_XINERAMA
int xinerama_screen = 0;
int xinerama_x = 0;
@@ -825,7 +823,7 @@ int vo_x11_check_events(Display *mydisplay){
void vo_x11_sizehint( int x, int y, int width, int height, int max )
{
vo_hint.flags=PPosition | PSize | PWinGravity;
- if(vo_x11_keepaspect)
+ if(vo_keepaspect)
{
vo_hint.flags |= PAspect;
vo_hint.min_aspect.x = width;