summaryrefslogtreecommitdiffstats
path: root/cfg-mplayer.h
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-04-15 20:50:33 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-04-15 20:50:33 +0000
commit02c0f0258f05dcd42499a221b795924e3d4c90c2 (patch)
tree3e72d0f822b044b218e2bfada933b700322f0e49 /cfg-mplayer.h
parenta3713ceb29828cce576fa3ea6f936f3ab1d61a38 (diff)
downloadmpv-02c0f0258f05dcd42499a221b795924e3d4c90c2.tar.bz2
mpv-02c0f0258f05dcd42499a221b795924e3d4c90c2.tar.xz
new monitorpixelaspect option, esp. useful for xinerama setups with upcoming patch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18106 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-mplayer.h')
-rw-r--r--cfg-mplayer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h
index c5a103684b..f908e1e93b 100644
--- a/cfg-mplayer.h
+++ b/cfg-mplayer.h
@@ -109,6 +109,7 @@ extern int nortc;
/* from libvo/aspect.c */
extern float monitor_aspect;
+extern float monitor_pixel_aspect;
extern int sws_flags;
extern int readPPOpt(void *conf, char *arg);
@@ -224,6 +225,7 @@ m_option_t mplayer_opts[]={
{"geometry", &vo_geometry, CONF_TYPE_STRING, 0, 0, 0, NULL},
// set aspect ratio of monitor - useful for 16:9 TVout
{"monitoraspect", &monitor_aspect, CONF_TYPE_FLOAT, CONF_RANGE, 0.2, 9.0, NULL},
+ {"monitorpixelaspect", &monitor_pixel_aspect, CONF_TYPE_FLOAT, CONF_RANGE, 0.0, 9.0, NULL},
// video mode switching: (x11,xv,dga)
{"vm", &vidmode, CONF_TYPE_FLAG, 0, 0, 1, NULL},
{"novm", &vidmode, CONF_TYPE_FLAG, 0, 1, 0, NULL},