mirror of
https://github.com/mpv-player/mpv
synced 2025-01-01 04:12:25 +00: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:
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);
|
||||
}
|
||||
} 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) {
|
||||
|
Loading…
Reference in New Issue
Block a user