mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 04:42:18 +02:00
linux-pipewire: Demote error to debug message
Receiving buffers flagged as corrupted, or empty, is a casualty of how things are implemented in various compositors, and it's not a critical situation to be afraid of. We can expect a few buffers to be flagged as corrupted here and there, and that's fine. Demote these warnings to debug messages, as they're still useful for debugging.
This commit is contained in:
parent
c5a06d3cf2
commit
be629b93ce
@ -567,13 +567,13 @@ static void on_process_cb(void *user_data)
|
||||
|
||||
if ((buffer->datas[0].chunk->flags & SPA_CHUNK_FLAG_CORRUPTED) >
|
||||
0) {
|
||||
blog(LOG_ERROR,
|
||||
blog(LOG_DEBUG,
|
||||
"[pipewire] buffer contains corrupted data");
|
||||
goto read_metadata;
|
||||
}
|
||||
|
||||
if (buffer->datas[0].chunk->size == 0) {
|
||||
blog(LOG_ERROR,
|
||||
blog(LOG_DEBUG,
|
||||
"[pipewire] buffer contains empty data");
|
||||
goto read_metadata;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user