summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-07-30 15:47:51 +0200
committerwm4 <wm4@nowhere>2016-07-30 15:47:51 +0200
commit546f7472fb2e1aac3d203eda2c352498ddb9a0ae (patch)
treefe1806420eb61e8a580fb8282eca7afc1bb04cef
parent45687c17f79eb1bff58e48cd2bca71f42556ed20 (diff)
downloadmpv-546f7472fb2e1aac3d203eda2c352498ddb9a0ae.tar.bz2
mpv-546f7472fb2e1aac3d203eda2c352498ddb9a0ae.tar.xz
options: add vp9 to --hwdec-codecs
-rw-r--r--DOCS/man/options.rst6
-rw-r--r--options/options.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index d78588ae78..6497d14684 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -885,9 +885,9 @@ Video
You can get the list of allowed codecs with ``mpv --vd=help``. Remove the
prefix, e.g. instead of ``lavc:h264`` use ``h264``.
- By default, this is set to ``h264,vc1,wmv3,hevc,mpeg2video``. Note that the
- hardware acceleration special codecs like ``h264_vdpau`` are not relevant
- anymore, and in fact have been removed from Libav in this form.
+ By default, this is set to ``h264,vc1,wmv3,hevc,mpeg2video,vp9``. Note that
+ the hardware acceleration special codecs like ``h264_vdpau`` are not
+ relevant anymore, and in fact have been removed from Libav in this form.
This is usually only needed with broken GPUs, where a codec is reported
as supported, but decoding causes more problems than it solves.
diff --git a/options/options.c b/options/options.c
index acef3ba6b9..b0e39a4bcf 100644
--- a/options/options.c
+++ b/options/options.c
@@ -828,7 +828,7 @@ const struct MPOpts mp_default_opts = {
.sub_cp = "auto",
.screenshot_template = "mpv-shot%n",
- .hwdec_codecs = "h264,vc1,wmv3,hevc,mpeg2video",
+ .hwdec_codecs = "h264,vc1,wmv3,hevc,mpeg2video,vp9",
.videotoolbox_format = IMGFMT_NV12,
.index_mode = 1,