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.
This commit is contained in:
wm4
2015-03-20 22:14:14 +01:00
parent 23a3fa8e90
commit 72e67064a3
+3 -2
View File
@@ -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) {