diff options
author | wm4 <wm4@nowhere> | 2017-02-07 17:05:17 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-02-07 17:05:17 +0100 |
commit | 96a45a16af5594900ca94e7d4abb18d1e6d5ed4a (patch) | |
tree | d08473b07adfa7963ce6735c72af1e5d220930a9 /options | |
parent | 061b752217d15d41496ca6e4777835fcd945e237 (diff) | |
download | mpv-96a45a16af5594900ca94e7d4abb18d1e6d5ed4a.tar.bz2 mpv-96a45a16af5594900ca94e7d4abb18d1e6d5ed4a.tar.xz |
player: add experimental stream recording feature
This is basically a WIP, but it can't remain in a branch forever. A
warning is print when using it as it's still a bit "shaky".
Diffstat (limited to 'options')
-rw-r--r-- | options/options.c | 2 | ||||
-rw-r--r-- | options/options.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c index 5166ef6940..b711156c18 100644 --- a/options/options.c +++ b/options/options.c @@ -681,6 +681,8 @@ const m_option_t mp_opts[] = { OPT_STRING("screenshot-template", screenshot_template, 0), OPT_STRING("screenshot-directory", screenshot_directory, 0), + OPT_STRING("record-file", record_file, M_OPT_FILE), + OPT_SUBSTRUCT("", input_opts, input_config, 0), OPT_PRINT("list-protocols", stream_print_proto_list), diff --git a/options/options.h b/options/options.h index 82a8f92d48..f465c0f862 100644 --- a/options/options.h +++ b/options/options.h @@ -138,6 +138,7 @@ typedef struct MPOpts { int untimed; char *stream_dump; + char *record_file; int stop_playback_on_init_failure; int loop_times; int loop_file; |