summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-05-03 21:00:05 +0200
committerwm4 <wm4@nowhere>2013-05-04 01:38:27 +0200
commit012d297bb13a290508c8a40c5d9f62d6535bb415 (patch)
tree172276c4d2f59a6851af483f30088b72fe10eedf /DOCS
parent844249317b350ad2a9f71b4382252027861d9e20 (diff)
downloadmpv-012d297bb13a290508c8a40c5d9f62d6535bb415.tar.bz2
mpv-012d297bb13a290508c8a40c5d9f62d6535bb415.tar.xz
video: add --hwdec-codecs option to whitelist codecs for hw decoding
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/en/options.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/DOCS/man/en/options.rst b/DOCS/man/en/options.rst
index c805e04002..53c04f48fc 100644
--- a/DOCS/man/en/options.rst
+++ b/DOCS/man/en/options.rst
@@ -874,6 +874,18 @@
:vda: OSX
:crystalhd: Broadcom Crystal HD
+--hwdec-codecs=<codec1,codec2,...|all>
+ Allow hardware decoding for a given list of codecs only. The default is the
+ special value ``all``, which always allows all codecs.
+
+ This is usually only needed with broken GPUs, where fallback to software
+ decoding doesn't work properly.
+
+ *EXAMPLE*:
+
+ - ``mpv --hwdec=vdpau --vo=vdpau --hwdec-codecs=h264,mpeg2video``
+ Enable vdpau decoding for h264 and mpeg2 only.
+
--identify
Deprecated. Use ``TOOLS/mpv_identify.sh``.