diff --git a/DOCS/interface-changes/option-removal.txt b/DOCS/interface-changes/option-removal.txt new file mode 100644 index 0000000000..a90c9e5083 --- /dev/null +++ b/DOCS/interface-changes/option-removal.txt @@ -0,0 +1,7 @@ +remove deprecated `--cache-dir` option alias +remove deprecated `--cache-unlink-files` option alias +remove deprecated `--demuxer-cue-codepage` option alias +remove deprecated `--fps` option alias +remove deprecated `--cdrom-device` option alias +remove deprecated `--sub-forced-only` option alias +remove deprecated `--vo-sixel-exit-clear` option alias diff --git a/demux/cache.c b/demux/cache.c index 036ed35d2d..01d94323fc 100644 --- a/demux/cache.c +++ b/demux/cache.c @@ -44,8 +44,6 @@ const struct m_sub_options demux_cache_conf = { {"demuxer-cache-unlink-files", OPT_CHOICE(unlink_files, {"immediate", 2}, {"whendone", 1}, {"no", 0}), }, - {"cache-dir", OPT_REPLACED("demuxer-cache-dir")}, - {"cache-unlink-files", OPT_REPLACED("demuxer-cache-unlink-files")}, {0} }, .size = sizeof(struct demux_cache_opts), diff --git a/demux/demux_cue.c b/demux/demux_cue.c index 2549aed101..7ca01782eb 100644 --- a/demux/demux_cue.c +++ b/demux/demux_cue.c @@ -41,13 +41,6 @@ #define PROBE_SIZE 512 -const struct m_sub_options demux_cue_conf = { - .opts = (const m_option_t[]) { - {"codepage", OPT_REPLACED("metadata-codepage")}, - {0} - }, -}; - struct priv { struct cue_file *f; }; diff --git a/filters/f_decoder_wrapper.c b/filters/f_decoder_wrapper.c index 47c230272b..3c7fc9bdbe 100644 --- a/filters/f_decoder_wrapper.c +++ b/filters/f_decoder_wrapper.c @@ -132,7 +132,6 @@ const struct m_sub_options dec_wrapper_conf = { M_RANGE(0, M_MAX_MEM_BYTES)}, {"audio-reversal-buffer", OPT_BYTE_SIZE(audio_reverse_size), M_RANGE(0, M_MAX_MEM_BYTES)}, - {"fps", OPT_REPLACED("container-fps-override")}, {0} }, .size = sizeof(struct dec_wrapper_opts), diff --git a/options/options.c b/options/options.c index 5b2e1e29a3..b0987a414f 100644 --- a/options/options.c +++ b/options/options.c @@ -70,7 +70,6 @@ extern const struct m_sub_options demux_rawvideo_conf; extern const struct m_sub_options demux_playlist_conf; extern const struct m_sub_options demux_lavf_conf; extern const struct m_sub_options demux_mkv_conf; -extern const struct m_sub_options demux_cue_conf; extern const struct m_sub_options vd_lavc_conf; extern const struct m_sub_options ad_lavc_conf; extern const struct m_sub_options input_config; @@ -632,7 +631,6 @@ static const m_option_t mp_opts[] = { #if HAVE_CDDA {"cdda", OPT_SUBSTRUCT(stream_cdda_opts, stream_cdda_conf)}, - {"cdrom-device", OPT_REPLACED("cdda-device")}, #endif // demuxer.c - select audio/sub file/demuxer @@ -684,7 +682,6 @@ static const m_option_t mp_opts[] = { {"demuxer-rawvideo", OPT_SUBSTRUCT(demux_rawvideo, demux_rawvideo_conf)}, {"", OPT_SUBSTRUCT(demux_playlist, demux_playlist_conf)}, {"demuxer-mkv", OPT_SUBSTRUCT(demux_mkv, demux_mkv_conf)}, - {"demuxer-cue", OPT_SUBSTRUCT(demux_cue, demux_cue_conf)}, // ------------------------- subtitles options -------------------- @@ -955,7 +952,6 @@ static const m_option_t mp_opts[] = { {"", OPT_SUBSTRUCT(encode_opts, encode_config)}, {"play-dir", OPT_REPLACED("play-direction")}, - {"sub-forced-only", OPT_REPLACED("sub-forced-events-only")}, {0} }; diff --git a/options/options.h b/options/options.h index 8e6d5e43cb..3356eac28b 100644 --- a/options/options.h +++ b/options/options.h @@ -351,7 +351,6 @@ typedef struct MPOpts { struct demux_playlist_opts *demux_playlist; struct demux_lavf_opts *demux_lavf; struct demux_mkv_opts *demux_mkv; - struct demux_cue_opts *demux_cue; struct demux_opts *demux_opts; struct demux_cache_opts *demux_cache_opts; diff --git a/video/out/vo_sixel.c b/video/out/vo_sixel.c index ba5341b54a..f4ad675540 100644 --- a/video/out/vo_sixel.c +++ b/video/out/vo_sixel.c @@ -618,7 +618,6 @@ const struct vo_driver video_out_sixel = { {"config-clear", OPT_BOOL(opts.config_clear), }, {"alt-screen", OPT_BOOL(opts.alt_screen), }, {"buffered", OPT_BOOL(opts.buffered), }, - {"exit-clear", OPT_REPLACED("vo-sixel-alt-screen")}, {0} }, .options_prefix = "vo-sixel",