mirror of https://github.com/mpv-player/mpv
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
This commit is contained in:
parent
cae2ffb6eb
commit
349eb0b7fc
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue