mirror of
https://github.com/mpv-player/mpv
synced 2025-01-11 09:29:29 +00:00
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:
parent
a2235b0280
commit
24f98d1aaf
@ -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.
|
||||
|
||||
|
@ -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,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user