summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2024-02-03 14:27:46 -0600
committerDudemanguy <random342@airmail.cc>2024-02-05 17:41:06 +0000
commit343a5fd345a84572ea5693a805119067d5b0fbc8 (patch)
tree4fbce1c7408194fe9f605d29d194525d30d92927 /DOCS
parent8ecb462a9c2d8003e9972fd20dd2bb713389ed2c (diff)
downloadmpv-343a5fd345a84572ea5693a805119067d5b0fbc8.tar.bz2
mpv-343a5fd345a84572ea5693a805119067d5b0fbc8.tar.xz
player: remove all rpi-specific code
vo_rpi and its related code has pretty much historically been a disaster in mpv. The build regularly gets broken and since nobody uses it, it takes months for anyone to notice. There was also that time where fullscreen was broken for about a year and a half. Also building in waf was entirely broken for about a couple of years or so due to mysterious reasons no one ever figured out (meson magically fixed it). Anyways, once again the build is broken due to rpi being forgotten about again, but instead of pretending to support this crap. Just drop it all. Nowadays, mmal hwdec is a relic since these devices are better off using the v4l2m2m ffmpeg fork instead which actually uses KMS properly. RPI 1 and 2 probably can't do this and will remain broken but oh well blame Broadcom for being special snowflakes and not using standard APIs (my rockpro worked out of the box; just saying). RPI 2 is nearly 10 years old anyways, so I think you can afford a new SBC by now. If we were nicer, there would be a deprecation period, but this is broken in the last major release anyway so too late. Closes #13402.
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/interface-changes.rst1
-rw-r--r--DOCS/man/options.rst5
-rw-r--r--DOCS/man/vo.rst24
3 files changed, 1 insertions, 29 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst
index 9055ca53a2..827fa79063 100644
--- a/DOCS/interface-changes.rst
+++ b/DOCS/interface-changes.rst
@@ -44,6 +44,7 @@ Interface changes
- change fallback deinterlace to bwdif
- add the command `load-config-file`
- add the command `load-input-conf`
+ - remove `--vo=rpi`, `--gpu-context=rpi`, and `--hwdec=mmal`
--- mpv 0.37.0 ---
- `--save-position-on-quit` and its associated commands now store state files
in %LOCALAPPDATA% instead of %APPDATA% directory by default on Windows.
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index e887e25ba7..e3b49b4087 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -1315,8 +1315,6 @@ Video
:mediacodec: requires ``--vo=gpu --gpu-context=android``
or ``--vo=mediacodec_embed`` (Android only)
:mediacodec-copy: copies video back to system RAM (Android only)
- :mmal: requires ``--vo=gpu`` (Raspberry Pi only - default if available)
- :mmal-copy: copies video back to system RAM (Raspberry Pi only)
:cuda: requires ``--vo=gpu`` (Any platform CUDA is available)
:cuda-copy: copies video back to system RAM (Any platform CUDA is available)
:crystalhd: copies video back to system RAM (Any platform supported by hardware)
@@ -1411,9 +1409,6 @@ Video
affect this additionally. This can give incorrect results even with
completely ordinary video sources.
- ``rpi`` always uses the hardware overlay renderer, even with
- ``--vo=gpu``.
-
``mediacodec`` is not safe. It forces RGB conversion (not with ``-copy``)
and how well it handles non-standard colorspaces is not known.
In the rare cases where 10-bit is supported the bit depth of the output
diff --git a/DOCS/man/vo.rst b/DOCS/man/vo.rst
index 5ee4eaa14f..2c9390114d 100644
--- a/DOCS/man/vo.rst
+++ b/DOCS/man/vo.rst
@@ -567,30 +567,6 @@ Available video output drivers are:
This also supports many of the options the ``gpu`` VO has, depending on the
backend.
-``rpi`` (Raspberry Pi)
- Native video output on the Raspberry Pi using the MMAL API.
-
- The following global options are supported by this video output:
-
- ``--rpi-display=<number>``
- Select the display number on which the video overlay should be shown
- (default: 0).
-
- ``--rpi-layer=<number>``
- Select the dispmanx layer on which the video overlay should be shown
- (default: -10). Note that mpv will also use the 2 layers above the
- selected layer, to handle the window background and OSD. Actual video
- rendering will happen on the layer above the selected layer.
-
- ``--rpi-background=<yes|no>``
- Whether to render a black background behind the video (default: no).
- Normally it's better to kill the console framebuffer instead, which
- gives better performance.
-
- ``--rpi-osd=<yes|no>``
- Enabled by default. If disabled with ``no``, no OSD layer is created.
- This also means there will be no subtitles rendered.
-
``drm`` (Direct Rendering Manager)
Video output driver using Kernel Mode Setting / Direct Rendering Manager.
Should be used when one doesn't want to install full-blown graphical