summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-02-08 21:18:35 +0100
committerwm4 <wm4@nowhere>2016-02-08 21:18:35 +0100
commit3d9e1ad363e9b992bae59773c08bfb7bd3b1c796 (patch)
tree641254fc1e090245a789687f64664b2bdec582d1 /options
parent09d61032cac27ce12e1b858b531150ac89efe424 (diff)
downloadmpv-3d9e1ad363e9b992bae59773c08bfb7bd3b1c796.tar.bz2
mpv-3d9e1ad363e9b992bae59773c08bfb7bd3b1c796.tar.xz
player: add --external-file option
Mostly intended for use with --lavfi-complex.
Diffstat (limited to 'options')
-rw-r--r--options/options.c1
-rw-r--r--options/options.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c
index 4352b6ceed..e1be68dc07 100644
--- a/options/options.c
+++ b/options/options.c
@@ -336,6 +336,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_APPEND_LIST("external-file", external_files, M_OPT_FILE),
OPT_STRING("sub-codepage", sub_cp, 0),
OPT_FLOAT("sub-delay", sub_delay, 0),
OPT_FLOAT("sub-fps", sub_fps, 0),
diff --git a/options/options.h b/options/options.h
index 488823ca15..95268cd522 100644
--- a/options/options.h
+++ b/options/options.h
@@ -240,6 +240,7 @@ typedef struct MPOpts {
char **sub_name;
char **sub_paths;
char **audiofile_paths;
+ char **external_files;
int sub_auto;
int audiofile_auto;
int osd_bar_visible;