Improve some debug

This commit is contained in:
Wim Taymans 2019-10-02 18:02:07 +02:00
parent 6e0ffb0c47
commit e04d58ee3a
12 changed files with 24 additions and 21 deletions

View file

@ -804,14 +804,13 @@ impl_node_port_use_buffers(void *object,
if (direction != this->direction)
port_id++;
spa_log_debug(this->log, NAME" %p: %d %d:%d", this,
n_buffers, direction, port_id);
if ((res = spa_node_port_use_buffers(this->target,
direction, port_id, flags, buffers, n_buffers)) < 0)
return res;
spa_log_debug(this->log, NAME" %p: %d %d:%d", this,
n_buffers, direction, port_id);
if (n_buffers > 0 && this->use_converter) {
if (port_id == 0)
res = negotiate_buffers(this);