mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-01 07:15:27 +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
@ -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…
x
Reference in New Issue
Block a user