From c048b5db02333ad198ac1bd9ca793b31efdaff1f Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 18 Jun 2014 01:40:20 +0200 Subject: options: allow adding multiple files with --audio-file At least 1 person expected that this works this way. --- options/options.c | 2 +- options/options.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'options') 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; -- cgit v1.2.3