From 969c19c9cb82a988366e611ba4c99fe85e7712f1 Mon Sep 17 00:00:00 2001 From: Dudemanguy Date: Tue, 19 Sep 2023 19:56:00 -0500 Subject: 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. --- DOCS/man/options.rst | 40 +++------------------------------------- 1 file changed, 3 insertions(+), 37 deletions(-) (limited to 'DOCS/man/options.rst') diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 3fb11a685b..d67d4af75c 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -1190,9 +1190,6 @@ Video Set this option only if you have reason to believe the automatically determined value is wrong. -``--display-fps=`` - Deprecated alias for ``--override-display-fps``. - ``--hwdec=`` Specify the hardware video decoding API that should be used if possible. Whether hardware decoding is actually done depends on the video codec. If @@ -1438,10 +1435,6 @@ Video Runtime changes to this are ignored (the current option value is used whenever the renderer is created). - The old aliases ``--opengl-hwdec-interop`` and ``--hwdec-preload`` are - barely related to this anymore, but will be somewhat compatible in some - cases. - ``--hwdec-extra-frames=`` Number of GPU frames hardware decoding should preallocate (default: see ``--list-options`` output). If this is too low, frame allocation may fail @@ -2198,12 +2191,10 @@ Audio their start timestamps differ, and then video timing is gradually adjusted if necessary to reach correct synchronization later. -``--volume-max=<100.0-1000.0>``, ``--softvol-max=<...>`` +``--volume-max=<100.0-1000.0>`` Set the maximum amplification level in percent (default: 130). A value of 130 will allow you to adjust the volume up to about double the normal level. - ``--softvol-max`` is a deprecated alias and should not be used. - ``--audio-file-auto=``, ``--no-audio-file-auto`` Load additional audio files matching the video filename. The parameter specifies how external audio files are matched. @@ -2278,11 +2269,6 @@ Subtitles Subtitles in ASS format are normally not changed intentionally, but overriding them can be controlled with ``--sub-ass-override``. - Previously some options working on text subtitles were called - ``--sub-text-*``, they are now named ``--sub-*``, and those specifically - for ASS have been renamed from ``--ass-*`` to ``--sub-ass-*``. - They are now all in this section. - ``--sub-demuxer=<[+]name>`` Force subtitle demuxer type for ``--sub-file``. Give the demuxer name as printed by ``--sub-demuxer=help``. @@ -2481,9 +2467,6 @@ Subtitles Default: yes. - Renamed from ``--sub-ass-use-margins``. To place ASS subtitles in the borders - too (like the old option did), also add ``--sub-ass-force-margins``. - ``--sub-ass-vsfilter-aspect-compat=`` Stretch SSA/ASS subtitles when playing anamorphic videos for compatibility with traditional VSFilter behavior. This switch has no effect when the @@ -2677,9 +2660,6 @@ Subtitles Never applied to text subtitles. -``--sub-paths=`` - Deprecated, use ``--sub-file-paths``. - ``--sub-file-paths=`` Specify extra directories to search for subtitles matching the video. Multiple directories can be separated by ":" (";" on Windows). @@ -3310,10 +3290,6 @@ Window fullscreen mode, the cursor is shown or hidden according to ``--cursor-autohide``. -``--no-fixed-vo``, ``--fixed-vo`` - ``--no-fixed-vo`` enforces closing and reopening the video window for - multiple files (one (un)initialization for each file). - ``--force-rgba-osd-rendering`` Change how some video outputs render the OSD and text subtitles. This does not change appearance of the subtitles and only has performance @@ -3680,7 +3656,7 @@ Demuxer If this option is deemed unnecessary at some point in the future, it will be removed without notice. -``--demuxer-mkv-subtitle-preroll=``, ``--mkv-subtitle-preroll`` +``--demuxer-mkv-subtitle-preroll=`` Try harder to show embedded soft subtitles when seeking somewhere. Normally, it can happen that the subtitle at the seek target is not shown due to how some container file formats are designed. The subtitles appear only if @@ -3723,8 +3699,6 @@ Demuxer but makes seeking much slower, as it has to decode audio and video data instead of just skipping over it. - ``--mkv-subtitle-preroll`` is a deprecated alias. - ``--demuxer-mkv-subtitle-preroll-secs=`` See ``--demuxer-mkv-subtitle-preroll``. @@ -4150,8 +4124,6 @@ Input disabled by default in libmpv as well - it should be enabled if you want the mpv default key bindings. - (This option was renamed from ``--input-x11-keyboard``.) - OSD --- @@ -6153,9 +6125,7 @@ them. chain will be used for D3D9. This option is mainly for debugging purposes, in case the custom swap chain has poor performance or does not work. - If set to ``yes``, the ``--angle-max-frame-latency``, - ``--angle-swapchain-length`` and ``--angle-flip`` options will have no - effect. + If set to ``yes``, the ``--angle-flip`` option will have no effect. Windows with ANGLE only. @@ -7285,10 +7255,6 @@ Miscellaneous and its libraries contain certain hacks and workarounds for these issues, that are unavailable to outside users. - This replaces ``--record-file``. It is similar to the ancient/removed - ``--stream-capture``/``--capture`` options, and provides better behavior in - most cases (i.e. actually works). - ``--lavfi-complex=`` Set a "complex" libavfilter filter, which means a single filter graph can take input from multiple source audio and video tracks. The graph can result -- cgit v1.2.3