mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-29 07:06:59 +08:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user