From 546f7472fb2e1aac3d203eda2c352498ddb9a0ae Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 30 Jul 2016 15:47:51 +0200 Subject: options: add vp9 to --hwdec-codecs --- DOCS/man/options.rst | 6 +++--- options/options.c | 2 +- 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, -- cgit v1.2.3