summaryrefslogtreecommitdiffstats
path: root/video/out/drm_common.c
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2023-09-19 19:56:00 -0500
committerDudemanguy <random342@airmail.cc>2023-09-21 16:06:29 +0000
commit969c19c9cb82a988366e611ba4c99fe85e7712f1 (patch)
treecaac6bf6cca9a9af3ab4a059df8d5c98c63a1a2e /video/out/drm_common.c
parent96a6c1ae9115a6ec828c80074e9b79dd43a04f9a (diff)
downloadmpv-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 'video/out/drm_common.c')
-rw-r--r--video/out/drm_common.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/video/out/drm_common.c b/video/out/drm_common.c
index 0ec0788480..929e584d8d 100644
--- a/video/out/drm_common.c
+++ b/video/out/drm_common.c
@@ -98,10 +98,6 @@ const struct m_sub_options drm_conf = {
{"drm-draw-surface-size", OPT_SIZE_BOX(draw_surface_size)},
{"drm-vrr-enabled", OPT_CHOICE(vrr_enabled,
{"no", 0}, {"yes", 1}, {"auto", -1})},
-
- {"drm-osd-plane-id", OPT_REPLACED("drm-draw-plane")},
- {"drm-video-plane-id", OPT_REPLACED("drm-drmprime-video-plane")},
- {"drm-osd-size", OPT_REPLACED("drm-draw-surface-size")},
{0},
},
.defaults = &(const struct drm_opts) {