options: enable mpeg2 hw decoding by default if hw decoding is requested

We didn't include this codec in the whitelist because of past problems
with vdpau and interlacing. (I can't reproduce any problems anymore.)
This commit is contained in:
wm4 2015-11-05 17:30:26 +01:00
parent 2cf9ee989c
commit 017f3d0674
2 changed files with 4 additions and 4 deletions

View File

@ -804,9 +804,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``. 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``. 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.

View File

@ -800,7 +800,7 @@ const struct MPOpts mp_default_opts = {
.sub_cp = "auto",
.screenshot_template = "mpv-shot%n",
.hwdec_codecs = "h264,vc1,wmv3,hevc",
.hwdec_codecs = "h264,vc1,wmv3,hevc,mpeg2video",
.index_mode = 1,