mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-11-10 05:34:17 +00:00
Suppress spammy libplacebo messages
Streaming 10-bit content on Nvidia GPUs spams the log with the following for every rendered frame: Masking `blit_src` from wrapped texture because the corresponding format 'rx10' does not support PL_FMT_CAP_BLITTABLE Masking `blit_src` from wrapped texture because the corresponding format 'rxgx10' does not support PL_FMT_CAP_BLITTABLE
This commit is contained in:
parent
c5ec8c0fdb
commit
4838a75c58
1 changed files with 3 additions and 0 deletions
|
@ -62,6 +62,9 @@ static void pl_log_cb(void*, enum pl_log_level level, const char *msg)
|
|||
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "libplacebo: %s", msg);
|
||||
break;
|
||||
case PL_LOG_WARN:
|
||||
if (strncmp(msg, "Masking `", 9) == 0) {
|
||||
return;
|
||||
}
|
||||
SDL_LogWarn(SDL_LOG_CATEGORY_APPLICATION, "libplacebo: %s", msg);
|
||||
break;
|
||||
case PL_LOG_INFO:
|
||||
|
|
Loading…
Reference in a new issue