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
1 changed files with 3 additions and 2 deletions

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); hwdec = probe_hwdec(vd, false, vd->opts->hwdec_api, decoder);
} }
} else { } else {
MP_VERBOSE(vd, "Not trying to use hardware decoding: " MP_VERBOSE(vd, "Not trying to use hardware decoding: codec %s is not "
"codec %s is blacklisted by user.\n", decoder); "on whitelist, or does not support hardware acceleration.\n",
decoder);
} }
if (hwdec) { if (hwdec) {