summaryrefslogtreecommitdiffstats
path: root/cfg-common-opts.h
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-24 07:36:43 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-25 03:34:28 +0300
commit60e2c8604d29963e8b4a4dc5f506a3886c58202d (patch)
tree816b4ecc2226d62d3bad9d084458026dbd1cf280 /cfg-common-opts.h
parent0a39709c15890161388e6d32cceea2ff3350aa82 (diff)
downloadmpv-60e2c8604d29963e8b4a4dc5f506a3886c58202d.tar.bz2
mpv-60e2c8604d29963e8b4a4dc5f506a3886c58202d.tar.xz
Move movie_aspect to options struct
Diffstat (limited to 'cfg-common-opts.h')
-rw-r--r--cfg-common-opts.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cfg-common-opts.h b/cfg-common-opts.h
index 0bb61499d8..e4dd1edc12 100644
--- a/cfg-common-opts.h
+++ b/cfg-common-opts.h
@@ -227,8 +227,8 @@
{"ssf", scaler_filter_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
OPT_FLAG_ON("zoom", softzoom, 0),
OPT_FLAG_OFF("nozoom", softzoom, 0),
- {"aspect", &movie_aspect, CONF_TYPE_FLOAT, CONF_RANGE, 0.2, 3.0, NULL},
- {"noaspect", &movie_aspect, CONF_TYPE_FLAG, 0, 0, 0, NULL},
+ OPT_FLOATRANGE("aspect", movie_aspect, 0, 0.2, 3.0),
+ OPT_FLAG_CONSTANTS("noaspect", movie_aspect, 0, 0, 0),
OPT_FLOATRANGE("xy", screen_size_xy, 0, 0.001, 4096),
OPT_FLAG_CONSTANTS("flip", flip, 0, -1, 1),