Small fixes

Init ptr in mem
Use a default memory size when no params
Improve debug
Always push after we have a buffer from pull
This commit is contained in:
Wim Taymans 2017-06-06 09:10:42 +02:00
parent 1feec309ec
commit 4433203d5f
4 changed files with 8 additions and 4 deletions

View file

@ -481,7 +481,7 @@ impl_node_port_use_buffers(struct spa_node *node,
if (!((d[0].type == this->type.data.MemPtr ||
d[0].type == this->type.data.MemFd ||
d[0].type == this->type.data.DmaBuf) && d[0].data != NULL)) {
spa_log_error(this->log, "volume %p: invalid memory on buffer %p", this,
spa_log_error(this->log, NAME " %p: invalid memory on buffer %p", this,
buffers[i]);
return SPA_RESULT_ERROR;
}