diff options
author | wm4 <wm4@nowhere> | 2014-06-18 01:40:20 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-06-18 01:58:05 +0200 |
commit | c048b5db02333ad198ac1bd9ca793b31efdaff1f (patch) | |
tree | acd4a4244b4d1c4d38005b9276d14068b831574e /options | |
parent | c48dd85821445d701caa02d2b619294e4982d62b (diff) |
options: allow adding multiple files with --audio-file
At least 1 person expected that this works this way.
Diffstat (limited to 'options')
-rw-r--r-- | options/options.c | 2 | ||||
-rw-r--r-- | options/options.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/options/options.c b/options/options.c index b03e8738ca..e2ce57955e 100644 --- a/options/options.c +++ b/options/options.c @@ -206,7 +206,7 @@ const m_option_t mp_opts[] = { #endif // demuxer.c - select audio/sub file/demuxer - OPT_STRING("audio-file", audio_stream, 0), + OPT_STRING_APPEND_LIST("audio-file", audio_files, 0), OPT_STRING("demuxer", demuxer_name, 0), OPT_STRING("audio-demuxer", audio_demuxer_name, 0), OPT_STRING("sub-demuxer", sub_demuxer_name, 0), diff --git a/options/options.h b/options/options.h index f547675bb6..110a16701c 100644 --- a/options/options.h +++ b/options/options.h @@ -178,7 +178,7 @@ typedef struct MPOpts { int sub_fix_timing; char *sub_cp; - char *audio_stream; + char **audio_files; char *demuxer_name; char *audio_demuxer_name; char *sub_demuxer_name; |