diff options
author | wm4 <wm4@nowhere> | 2016-02-08 21:18:35 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-02-08 21:18:35 +0100 |
commit | 3d9e1ad363e9b992bae59773c08bfb7bd3b1c796 (patch) | |
tree | 641254fc1e090245a789687f64664b2bdec582d1 /options | |
parent | 09d61032cac27ce12e1b858b531150ac89efe424 (diff) | |
download | mpv-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.c | 1 | ||||
-rw-r--r-- | options/options.h | 1 |
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; |