mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
improve debug
Improve log so that debug level 3 gives a reasonably readable overview of what is going on.
This commit is contained in:
parent
8ab67c5fa0
commit
aafd1e7298
33 changed files with 141 additions and 125 deletions
|
|
@ -841,7 +841,7 @@ static int port_set_format(struct impl *this, struct port *port,
|
|||
int err;
|
||||
|
||||
if (format == NULL) {
|
||||
spa_log_info(this->log, "clear format");
|
||||
spa_log_debug(this->log, "clear format");
|
||||
clear_buffers(this, port);
|
||||
port->have_format = false;
|
||||
} else {
|
||||
|
|
@ -919,7 +919,7 @@ impl_node_port_use_buffers(void *object,
|
|||
spa_return_val_if_fail(CHECK_PORT(this, direction, port_id), -EINVAL);
|
||||
port = &this->port;
|
||||
|
||||
spa_log_info(this->log, "use buffers %d", n_buffers);
|
||||
spa_log_debug(this->log, "use buffers %d", n_buffers);
|
||||
|
||||
if (!port->have_format)
|
||||
return -EIO;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue