summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-03-20 22:14:14 +0100
committerwm4 <wm4@nowhere>2015-03-20 22:14:14 +0100
commit72e67064a3d0cacbceaaca550d111f63119cb5da (patch)
tree829767acb7bee1e2e4d5237152b49aa95ee78ebd
parent23a3fa8e9057b94d62db0b9604671a1d846ea295 (diff)
downloadmpv-72e67064a3d0cacbceaaca550d111f63119cb5da.tar.bz2
mpv-72e67064a3d0cacbceaaca550d111f63119cb5da.tar.xz
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.
-rw-r--r--video/decode/vd_lavc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c
index eea8a5709b..eecc130208 100644
--- a/video/decode/vd_lavc.c
+++ b/video/decode/vd_lavc.c
@@ -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) {