summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Sequeira <phsequei@gmail.com>2015-03-29 23:36:21 -0400
committerwm4 <wm4@nowhere>2015-03-31 15:05:08 +0200
commit48dafda7e9c1f22b3dde7965e33c13beab976c55 (patch)
tree98ab22a7fa3229d9f4dbe58af692e63450801c83
parentd6b102cab083150bd8ec6a103b20fa69a414550a (diff)
downloadmpv-48dafda7e9c1f22b3dde7965e33c13beab976c55.tar.bz2
mpv-48dafda7e9c1f22b3dde7965e33c13beab976c55.tar.xz
options: add M_OPT_FILE to --input-conf
Someday I'll look through all the options and find whatever else is missing it...
-rw-r--r--input/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input/input.c b/input/input.c
index 6bbba907d1..c12ed3abdb 100644
--- a/input/input.c
+++ b/input/input.c
@@ -175,7 +175,7 @@ struct input_opts {
const struct m_sub_options input_config = {
.opts = (const m_option_t[]) {
- OPT_STRING("conf", config_file, CONF_GLOBAL),
+ OPT_STRING("conf", config_file, CONF_GLOBAL | M_OPT_FILE),
OPT_INT("ar-delay", ar_delay, CONF_GLOBAL),
OPT_INT("ar-rate", ar_rate, CONF_GLOBAL),
OPT_PRINT("keylist", mp_print_key_list),