diff options
author | wm4 <wm4@nowhere> | 2016-05-11 16:18:58 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-05-11 16:20:13 +0200 |
commit | 70b35612704a992dac45856e069608216f41ea89 (patch) | |
tree | 6ed76d1cfc9f4dad857b0c8d56c7fd6db1bb24fc /DOCS | |
parent | 2ec26b8396c8d44def148351ee370fde4b950cbf (diff) | |
download | mpv-70b35612704a992dac45856e069608216f41ea89.tar.bz2 mpv-70b35612704a992dac45856e069608216f41ea89.tar.xz |
video: add --hwdec=auto-copy mode
This uses the normal autoprobing rules like "auto", but rejects anything
that isn't flagged as copying data back to system memory.
The chunk in command.c was dead code, so remove it instead of updating
it.
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/man/options.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index ab34e6468e..c61a556296 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -581,6 +581,7 @@ Video :no: always use software decoding (default) :auto: see below + :auto-copy: see below :vdpau: requires ``--vo=vdpau`` or ``--vo=opengl`` (Linux only) :vaapi: requires ``--vo=opengl`` or ``--vo=vaapi`` (Linux only) :vaapi-copy: copies video back into system RAM (Linux with Intel GPUs only) @@ -600,6 +601,13 @@ Video work, it will always fall back to software decoding, instead of trying the next method (might matter on some Linux systems). + ``auto-copy`` selects only modes that copy the video data back to system + memory after decoding. Currently, this selects only one of the following + modes: ``vaapi-copy``, ``dxva2-copy``, ``d3d11va-copy``, ``mediacodec``. + If none of these work, hardware decoding is disabled. This mode is always + guaranteed to incur no additional loss compared to software decoding, and + will allow CPU processing with video filters. + The ``vaapi`` mode, if used with ``--vo=opengl``, requires Mesa 11 and most likely works with Intel GPUs only. It also requires the opengl EGL backend (automatically used if available). You can also try the old GLX backend by |