diff options
author | Dudemanguy <random342@airmail.cc> | 2023-09-19 19:56:00 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-09-21 16:06:29 +0000 |
commit | 969c19c9cb82a988366e611ba4c99fe85e7712f1 (patch) | |
tree | caac6bf6cca9a9af3ab4a059df8d5c98c63a1a2e /common | |
parent | 96a6c1ae9115a6ec828c80074e9b79dd43a04f9a (diff) | |
download | mpv-969c19c9cb82a988366e611ba4c99fe85e7712f1.tar.bz2 mpv-969c19c9cb82a988366e611ba4c99fe85e7712f1.tar.xz |
options: remove ancient option fallbacks/deprecation
We've got an ungodly amount of OPT_REPLACED and OPT_REMOVED sitting
around in the code. This is harmless, but the vast majority of these are
ancient. 26f4f18c0629998a9b91e94722d166866d8b80a3 is the last commit
that touched the majority of these and of course that only changed how
options were declared so all of this stuff was deprecated even before
that. No use in keeping these, so just delete them all. As an aside,
there was actually a cocoa_opts but it had only a single option which
was replaced by something else and empty otherwise. So that entire thing
was just simply removed. OPT_REPLACED/OPT_REMOVED declarations that were
added in 0.35 or later were kept as is.
Diffstat (limited to 'common')
-rw-r--r-- | common/encode_lavc.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/common/encode_lavc.c b/common/encode_lavc.c index 6da6796034..f52d50a7e2 100644 --- a/common/encode_lavc.c +++ b/common/encode_lavc.c @@ -95,13 +95,6 @@ const struct m_sub_options encode_config = { {"ocopy-metadata", OPT_BOOL(copy_metadata)}, {"oset-metadata", OPT_KEYVALUELIST(set_metadata)}, {"oremove-metadata", OPT_STRINGLIST(remove_metadata)}, - - {"ocopyts", OPT_REMOVED("ocopyts is now the default")}, - {"oneverdrop", OPT_REMOVED("no replacement")}, - {"oharddup", OPT_REMOVED("use --vf-add=fps=VALUE")}, - {"ofps", OPT_REMOVED("no replacement (use --vf-add=fps=VALUE for CFR)")}, - {"oautofps", OPT_REMOVED("no replacement")}, - {"omaxfps", OPT_REMOVED("no replacement")}, {0} }, .size = sizeof(struct encode_opts), |