summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2020-05-03 16:27:37 +0200
committerNiklas Haas <git@haasn.xyz>2020-05-03 16:27:37 +0200
commit349eb0b7fcdcedc8061979443dd73bfa032118d0 (patch)
tree6af2e3cd2141d48d2010ca9c3f38b95215880281
parentcae2ffb6eb52f56167aeabf40caa28ecb3ca498b (diff)
downloadmpv-349eb0b7fcdcedc8061979443dd73bfa032118d0.tar.bz2
mpv-349eb0b7fcdcedc8061979443dd73bfa032118d0.tar.xz
vo_gpu: suppress PL_FATAL logs during probing
These were still mapped to MP errors during probing, but they also get triggered when instance creation fails due to lack of support for e.g. wayland. Since waylandvk is probed above x11vk, we should probably suppress these by default. Closes #7626
-rw-r--r--video/out/placebo/utils.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/video/out/placebo/utils.c b/video/out/placebo/utils.c
index 79f313872c..616914c27b 100644
--- a/video/out/placebo/utils.c
+++ b/video/out/placebo/utils.c
@@ -27,8 +27,6 @@ static const enum pl_log_level probing_map(enum pl_log_level level)
{
switch (level) {
case PL_LOG_FATAL:
- return PL_LOG_ERR;
-
case PL_LOG_ERR:
case PL_LOG_WARN:
return PL_LOG_INFO;