summaryrefslogtreecommitdiffstats
path: root/options/options.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-12-25 13:17:11 +0100
committerwm4 <wm4@nowhere>2015-12-25 13:17:11 +0100
commit0710ced0792f3ec83c337d1b4f48ff13950f7f33 (patch)
treed370c75f08f11d4aa661aaae55e56f353a3bfe93 /options/options.c
parent6d9cb89333782c1c7043f58cc4b0c713c2e871d6 (diff)
downloadmpv-0710ced0792f3ec83c337d1b4f48ff13950f7f33.tar.bz2
mpv-0710ced0792f3ec83c337d1b4f48ff13950f7f33.tar.xz
options: add --audio-file-paths
Requested. It works like --sub-paths. This will also load audio files from a "audio" sub directory in the config file (because the same code as for subtitles is used, and it also had such a feature). Fixes #2632.
Diffstat (limited to 'options/options.c')
-rw-r--r--options/options.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c
index 058265ae69..b001712349 100644
--- a/options/options.c
+++ b/options/options.c
@@ -332,6 +332,7 @@ const m_option_t mp_opts[] = {
OPT_STRING_APPEND_LIST("sub-file", sub_name, M_OPT_FILE),
OPT_PATHLIST("sub-paths", sub_paths, 0),
+ OPT_PATHLIST("audio-file-paths", audiofile_paths, 0),
OPT_STRING("sub-codepage", sub_cp, 0),
OPT_FLOAT("sub-delay", sub_delay, 0),
OPT_FLOAT("sub-fps", sub_fps, 0),