mirror of https://github.com/mpv-player/mpv
options: add vp9 to --hwdec-codecs
This commit is contained in:
parent
45687c17f7
commit
546f7472fb
|
@ -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.
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue