mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
improve debug and error reporting a little
This commit is contained in:
parent
ae1bbc93d8
commit
5f4c0cdd1e
3 changed files with 8 additions and 4 deletions
|
|
@ -1725,8 +1725,8 @@ impl_node_port_use_buffers(void *object,
|
|||
SPA_META_Header, sizeof(struct spa_meta_header));
|
||||
|
||||
if (n_datas != port->blocks) {
|
||||
spa_log_error(this->log, "%p: invalid blocks %d on buffer %d",
|
||||
this, n_datas, i);
|
||||
spa_log_error(this->log, "%p: invalid blocks %d on buffer %d, expected %d",
|
||||
this, n_datas, i, port->blocks);
|
||||
return -EINVAL;
|
||||
}
|
||||
if (SPA_FLAG_IS_SET(flags, SPA_NODE_BUFFERS_FLAG_ALLOC)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue