mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
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:
@@ -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)},
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user