From 3dd59dbed06a55eed00ad68d0a953f39188e3647 Mon Sep 17 00:00:00 2001 From: Martin Herkt Date: Wed, 13 Feb 2019 02:43:57 +0100 Subject: options: do not enable MPEG2 hwdec by default Too many broken hardware decoders. Noticed wrong decoding of a video file encoded with x262 on RX Vega when using VAAPI (Mesa 18.3.2). Looks fine with swdec and a cheap hardware BD player. Reverts 017f3d0674e48a587b9e6cd7a48f15519c799c3e --- DOCS/man/options.rst | 2 +- options/options.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 6108e07c25..c6b34f3171 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -1092,7 +1092,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,hevc,mpeg2video,vp9``. Note that + By default, this is set to ``h264,vc1,wmv3,hevc,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. diff --git a/options/options.c b/options/options.c index a98f03a7da..0dec9c51a9 100644 --- a/options/options.c +++ b/options/options.c @@ -953,7 +953,7 @@ const struct MPOpts mp_default_opts = { .screenshot_template = "mpv-shot%n", .hwdec_api = HAVE_RPI ? "mmal" : "no", - .hwdec_codecs = "h264,vc1,wmv3,hevc,mpeg2video,vp9", + .hwdec_codecs = "h264,vc1,wmv3,hevc,vp9", .audio_output_channels = { .set = 1, -- cgit v1.2.3