From e1966e4aae019b8bd13ccac462de2518d56269b2 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 5 Dec 2013 21:23:15 +0100 Subject: video: allow hardware decoding only for certain codecs In particular, this disables mpeg4. There are some files out there that use GMC, a usually rarely used and ineffective feature, which is not supported by most hardware decoders. In these cases the hw decoder outputs garbage, while software decoding works perfectly fine. We can't really fallback to software decoding in these cases, because we don't know that something is wrong in the first place. I can't see any advantages of hw decoding of mpeg4, so it's better to disable it. --- mpvcore/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mpvcore/options.c') diff --git a/mpvcore/options.c b/mpvcore/options.c index ab9969c315..0f9489284f 100644 --- a/mpvcore/options.c +++ b/mpvcore/options.c @@ -851,7 +851,7 @@ const struct MPOpts mp_default_opts = { .sub_cp = "UTF-8:UTF-8-BROKEN", #endif - .hwdec_codecs = "all", + .hwdec_codecs = "h264,vc1,wmv3", .index_mode = -1, -- cgit v1.2.3