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.
This commit is contained in:
wm4 2015-05-14 20:17:23 +02:00
parent a2235b0280
commit 24f98d1aaf
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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,