summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
Diffstat (limited to 'options')
-rw-r--r--options/options.c2
-rw-r--r--options/options.h1
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;