mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -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
|
|
@ -599,7 +599,7 @@ impl_node_port_enum_params(void *object, int seq,
|
|||
static int clear_buffers(struct impl *this, struct port *port)
|
||||
{
|
||||
if (port->n_buffers > 0) {
|
||||
spa_log_info(this->log, NAME " %p: clear buffers", this);
|
||||
spa_log_debug(this->log, NAME " %p: clear buffers", this);
|
||||
port->n_buffers = 0;
|
||||
this->started = false;
|
||||
}
|
||||
|
|
@ -876,8 +876,6 @@ impl_init(const struct spa_handle_factory *factory,
|
|||
|
||||
init_ports(this);
|
||||
|
||||
spa_log_info(this->log, NAME " %p: initialized", this);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -598,7 +598,7 @@ impl_node_port_enum_params(void *object, int seq,
|
|||
static int clear_buffers(struct impl *this, struct port *port)
|
||||
{
|
||||
if (port->n_buffers > 0) {
|
||||
spa_log_info(this->log, NAME " %p: clear buffers", this);
|
||||
spa_log_debug(this->log, NAME " %p: clear buffers", this);
|
||||
port->n_buffers = 0;
|
||||
spa_list_init(&port->empty);
|
||||
this->started = false;
|
||||
|
|
@ -898,8 +898,6 @@ impl_init(const struct spa_handle_factory *factory,
|
|||
|
||||
init_ports(this);
|
||||
|
||||
spa_log_info(this->log, NAME " %p: initialized", this);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue