mirror of https://github.com/mpv-player/mpv
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:
parent
23a3fa8e90
commit
72e67064a3
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue