From 96a45a16af5594900ca94e7d4abb18d1e6d5ed4a Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 7 Feb 2017 17:05:17 +0100 Subject: 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". --- options/options.c | 2 ++ options/options.h | 1 + 2 files changed, 3 insertions(+) (limited to 'options') 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; -- cgit v1.2.3