diff options
author | Philip Langdale <philipl@overt.org> | 2022-08-27 09:53:31 -0700 |
---|---|---|
committer | Philip Langdale <github.philipl@overt.org> | 2022-10-11 10:07:48 -0700 |
commit | 064059e6c36329e1b1fd567d0efdfbaf13ec53c4 (patch) | |
tree | 154a9afe75e3288499da84ffb9157166c81c60bb /DOCS/man/vo.rst | |
parent | d050e350fee8b3bef3f77e9c161bf35aea8faa2e (diff) | |
download | mpv-064059e6c36329e1b1fd567d0efdfbaf13ec53c4.tar.bz2 mpv-064059e6c36329e1b1fd567d0efdfbaf13ec53c4.tar.xz |
vo_gpu/hwdec: rename and introduce legacy names for some interops
We've had some annoying names for interops, which we can't simply
rename because that would break config files and command lines. So we
need to put a little more effort in and add a concept of legacy names
that allow us to continue loading them, but with a warning.
The two I'm renaming here are:
* vaapi-egl -> vaapi (vaapi works with Vulkan too)
* drmprime-drm -> drmprime-overlay (actually describes what it does)
* cuda-nvdec -> cuda (cuda interop is not nvdec specific)
Diffstat (limited to 'DOCS/man/vo.rst')
-rw-r--r-- | DOCS/man/vo.rst | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/DOCS/man/vo.rst b/DOCS/man/vo.rst index 5e5b1394d9..c71ebd4c45 100644 --- a/DOCS/man/vo.rst +++ b/DOCS/man/vo.rst @@ -614,11 +614,11 @@ Available video output drivers are: based, and related to the CRTC. (default: primary) - When using this option with the drmprime-drm hwdec interop, only the OSD - is rendered to this plane. + When using this option with the drmprime-overlay hwdec interop, only the + OSD is rendered to this plane. ``--drm-drmprime-video-plane=<primary|overlay|N>`` - Select the DRM plane to use for video with the drmprime-drm hwdec + Select the DRM plane to use for video with the drmprime-overlay hwdec interop (used by e.g. the rkmpp hwdec on RockChip SoCs, and v4l2 hwdec:s on various other SoC:s). The plane is unused otherwise. This option accepts the same values as ``--drm-draw-plane``. (default: overlay) @@ -644,12 +644,12 @@ Available video output drivers are: ``--drm-draw-surface-size=<[WxH]>`` Sets the size of the surface used on the draw plane. The surface will then be upscaled to the current screen resolution. This option can be - useful when used together with the drmprime-drm hwdec interop at high - resolutions, as it allows scaling the draw plane (which in this case - only handles the OSD) down to a size the GPU can handle. + useful when used together with the drmprime-overlay hwdec interop at + high resolutions, as it allows scaling the draw plane (which in this + case only handles the OSD) down to a size the GPU can handle. - When used without the drmprime-drm hwdec interop this option will just - cause the video to get rendered at a different resolution and then + When used without the drmprime-overlay hwdec interop this option will + just cause the video to get rendered at a different resolution and then scaled to screen size. Note: this option is only available with DRM atomic support. |