summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-10-21 13:21:57 +0200
committerwm4 <wm4@nowhere>2014-10-21 13:22:38 +0200
commitf8e254864c30a86e87f4703267ee970586728b77 (patch)
tree2a39eb1fe9b7521258840ef45aaf94af163f986c
parentf0f83ff36600abc8715f3a11c31b2eeeda6c8c92 (diff)
downloadmpv-f8e254864c30a86e87f4703267ee970586728b77.tar.bz2
mpv-f8e254864c30a86e87f4703267ee970586728b77.tar.xz
options: allow selecting track ID 0 too
Blergh. Now needed for --ff-aid and friends.
-rw-r--r--options/m_option.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/options/m_option.h b/options/m_option.h
index 39842f2633..41b1d9ec56 100644
--- a/options/m_option.h
+++ b/options/m_option.h
@@ -650,7 +650,7 @@ extern const char m_option_path_separator;
OPT_GENERAL(struct m_geometry, __VA_ARGS__, .type = &m_option_type_size_box)
#define OPT_TRACKCHOICE(name, var) \
- OPT_CHOICE_OR_INT(name, var, 0, 1, 8190, ({"no", -2}, {"auto", -1}))
+ OPT_CHOICE_OR_INT(name, var, 0, 0, 8190, ({"no", -2}, {"auto", -1}))
#define OPT_VID_STEREO_MODE(...) \
OPT_GENERAL(int, __VA_ARGS__, .type = &m_option_vid_stereo_mode)