diff options
author | wm4 <wm4@nowhere> | 2015-05-14 20:17:23 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-05-14 20:17:23 +0200 |
commit | 24f98d1aaf347119b8b3a48e2736755d82a0f508 (patch) | |
tree | 96716f7ad9000c7f88915b5024ed85f4d656c880 | |
parent | a2235b0280d379373e52f80d261c594b2d6a9206 (diff) | |
download | mpv-24f98d1aaf347119b8b3a48e2736755d82a0f508.tar.bz2 mpv-24f98d1aaf347119b8b3a48e2736755d82a0f508.tar.xz |
video: add hevc to whitelist of hwdec codecs
This means if --hwdec is used, and hardware decoding is supported for
HEVC, it's actually used.
-rw-r--r-- | DOCS/man/options.rst | 2 | ||||
-rw-r--r-- | options/options.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 6b3485cee3..2718a89606 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -733,7 +733,7 @@ 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``. Note that the hardware + By default this is set to ``h264,vc1,wmv3,hevc``. 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. diff --git a/options/options.c b/options/options.c index c51a948db4..576b1ec08b 100644 --- a/options/options.c +++ b/options/options.c @@ -763,7 +763,7 @@ const struct MPOpts mp_default_opts = { .sub_cp = "auto", .screenshot_template = "mpv-shot%n", - .hwdec_codecs = "h264,vc1,wmv3", + .hwdec_codecs = "h264,vc1,wmv3,hevc", .index_mode = 1, |