options: remove deprecated --record-file option

No wonder wm4 wanted to get rid of this. This option requires touching a
bunch of crap in the core player code. --stream-record works perfectly
fine and is a lot nicer so there's no need for this to exist anymore.
This commit is contained in:
Dudemanguy
2023-09-19 22:56:17 -05:00
parent 1b68c5d22f
commit fb46666395
8 changed files with 1 additions and 127 deletions

View File

@@ -784,9 +784,6 @@ static const m_option_t mp_opts[] = {
.flags = M_OPT_FILE},
{"screenshot-sw", OPT_BOOL(screenshot_sw)},
{"record-file", OPT_STRING(record_file), .flags = M_OPT_FILE,
.deprecation_message = "use --stream-record or the dump-cache command"},
{"", OPT_SUBSTRUCT(resample_opts, resample_conf)},
{"", OPT_SUBSTRUCT(input_opts, input_config)},

View File

@@ -201,7 +201,6 @@ typedef struct MPOpts {
bool untimed;
char *stream_dump;
char *record_file;
bool stop_playback_on_init_failure;
int loop_times;
int loop_file;