summaryrefslogtreecommitdiffstats
path: root/options/options.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-07-13 15:41:42 +0200
committerwm4 <wm4@nowhere>2019-09-19 20:37:05 +0200
commit2f5dbaa8320ac1497cd3a77867ac8826ca3fd3c2 (patch)
tree8ae347aa031227514f8176df3cb42bd375c677a4 /options/options.c
parentad20f808afdd5c123363a40f8a4a27bfa79be0c4 (diff)
downloadmpv-2f5dbaa8320ac1497cd3a77867ac8826ca3fd3c2.tar.bz2
mpv-2f5dbaa8320ac1497cd3a77867ac8826ca3fd3c2.tar.xz
options: deprecate --stream-record
It's inadequate for most uses. There are better mechanisms.
Diffstat (limited to 'options/options.c')
-rw-r--r--options/options.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/options/options.c b/options/options.c
index c5812f93f8..b775c23307 100644
--- a/options/options.c
+++ b/options/options.c
@@ -697,7 +697,8 @@ const m_option_t mp_opts[] = {
OPT_STRING("screenshot-template", screenshot_template, 0),
OPT_STRING("screenshot-directory", screenshot_directory, M_OPT_FILE),
- OPT_STRING("record-file", record_file, M_OPT_FILE),
+ OPT_STRING("record-file", record_file, M_OPT_FILE, .deprecation_message =
+ "use --stream-record or the dump-cache command"),
OPT_SUBSTRUCT("", resample_opts, resample_conf, 0),