mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
improve debug and error messages
This commit is contained in:
parent
44e74c599f
commit
f4e8ebab51
4 changed files with 29 additions and 9 deletions
|
|
@ -250,7 +250,7 @@ static int negotiate_buffers(struct impl *this)
|
|||
struct spa_data *datas;
|
||||
uint32_t follower_flags, conv_flags;
|
||||
|
||||
spa_log_debug(this->log, "%p: %d", this, this->n_buffers);
|
||||
spa_log_debug(this->log, NAME" %p: %d", this, this->n_buffers);
|
||||
|
||||
if (this->n_buffers > 0)
|
||||
return 0;
|
||||
|
|
@ -452,7 +452,7 @@ static int negotiate_format(struct impl *this)
|
|||
|
||||
spa_pod_builder_init(&b, buffer, sizeof(buffer));
|
||||
|
||||
spa_log_debug(this->log, NAME "%p: negiotiate", this);
|
||||
spa_log_debug(this->log, NAME " %p: negiotiate", this);
|
||||
|
||||
state = 0;
|
||||
format = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue