From 72e67064a3d0cacbceaaca550d111f63119cb5da Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 20 Mar 2015 22:14:14 +0100 Subject: vd_lavc: less confusing message when hardware decoding won't work Codecs for hardware acceleration are not blacklisted, but whitelisted. Also, if this emssage is printed, the codec might not have any hardware acceleration support in the first place. --- video/decode/vd_lavc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c index eea8a5709b..eecc130208 100644 --- a/video/decode/vd_lavc.c +++ b/video/decode/vd_lavc.c @@ -296,8 +296,9 @@ static int init(struct dec_video *vd, const char *decoder) hwdec = probe_hwdec(vd, false, vd->opts->hwdec_api, decoder); } } else { - MP_VERBOSE(vd, "Not trying to use hardware decoding: " - "codec %s is blacklisted by user.\n", decoder); + MP_VERBOSE(vd, "Not trying to use hardware decoding: codec %s is not " + "on whitelist, or does not support hardware acceleration.\n", + decoder); } if (hwdec) { -- cgit v1.2.3