diff options
author | LongChair <longchair@hotmail.com> | 2018-04-29 17:46:23 +0200 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2018-05-01 20:48:02 +0300 |
commit | ed94f8dc00dd75bf5d88bdf73b9d69a579c0f8ef (patch) | |
tree | a7464c8db4f154423ee148c2c6e08f047b41a762 /DOCS/man | |
parent | 49bc07faea5f3c621eed437fadf68653b4b2498b (diff) | |
download | mpv-ed94f8dc00dd75bf5d88bdf73b9d69a579c0f8ef.tar.bz2 mpv-ed94f8dc00dd75bf5d88bdf73b9d69a579c0f8ef.tar.xz |
drm/atomic: refactor planes names
We are currently using primary / overlay planes drm objects, assuming that primary plane is osd and overlay plane is video.
This commit is doing two things :
- replace the primary / overlay planes members with osd and video planes member without the assumption
- Add two more options to determine which one of the primary / overlay is associated to osd / video.
- It will default osd to overlay and video to primary if unspecified
Diffstat (limited to 'DOCS/man')
-rw-r--r-- | DOCS/man/vo.rst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/DOCS/man/vo.rst b/DOCS/man/vo.rst index 96ab1f7cf9..3fb2567b7d 100644 --- a/DOCS/man/vo.rst +++ b/DOCS/man/vo.rst @@ -488,6 +488,20 @@ Available video output drivers are: Mode ID to use (resolution and frame rate). (default: 0) + ``--drm-osd-plane-id=<number>`` + Select the DRM planed index to use for OSD (or OSD and video). + Index is zero based, and related to crtc. + When using this option with drm_prime renderer, it will only affect + the OSD contents. Otherwise it will set OSD & video plane. + (default: primary plane) + + ``--drm-video-plane-id=<number>`` + Select the DRM planed index to use for video layer. + Index is zero based, and related to crtc. + This option only has effect when using the drm_prime renderer (which + supports several layers) together with ``vo=gpu`` and ``gpu-context=drm``. + (default: first overlay plane) + ``--drm-format=<xrgb8888,xrgb2101010>`` Select the DRM format to use (default: xrgb8888). This allows you to choose the bit depth of the DRM mode. xrgb8888 is your usual 24 bit per |