diff options
author | attila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-01-01 12:02:49 +0000 |
---|---|---|
committer | attila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-01-01 12:02:49 +0000 |
commit | 76da393f9842750782dc3e8c7a265efe654dda3a (patch) | |
tree | b201eecb3fcc12e718ad41e689d49ad65aadb948 /cfg-mplayer.h | |
parent | d2d5c0cf705a4759260d675cb228f9db725c3ec3 (diff) | |
download | mpv-76da393f9842750782dc3e8c7a265efe654dda3a.tar.bz2 mpv-76da393f9842750782dc3e8c7a265efe654dda3a.tar.xz |
X11 window aspect patch by Arnaud Boulan <boulan@iie.cnam.fr>
adds 2 options: -keepaspect (default) and -nokeepaspect
tested with icewm and enlightenment
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8693 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-mplayer.h')
-rw-r--r-- | cfg-mplayer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h index 859dc48955..9d14d2d607 100644 --- a/cfg-mplayer.h +++ b/cfg-mplayer.h @@ -82,6 +82,7 @@ extern char *mDisplayName; extern int WinID; extern int ice_layer; extern int stop_xscreensaver; +extern int vo_x11_keepaspect; #endif #ifdef HAVE_AA @@ -294,6 +295,8 @@ static config_t mplayer_opts[]={ {"icelayer", &ice_layer, CONF_TYPE_INT, CONF_RANGE, 0, 15, NULL}, {"stop_xscreensaver", &stop_xscreensaver, CONF_TYPE_FLAG, 0, 0, 1, NULL}, {"nostop_xscreensaver", &stop_xscreensaver, CONF_TYPE_FLAG, 0, 1, 0, NULL}, + {"keepaspect", &vo_x11_keepaspect, CONF_TYPE_FLAG, 0, 0, 1, NULL}, + {"nokeepaspect", &vo_x11_keepaspect, CONF_TYPE_FLAG, 0, 1, 0, NULL}, #endif #ifdef HAVE_XINERAMA |