add some more debug info

This commit is contained in:
Wim Taymans 2020-09-25 17:01:52 +02:00
parent 8bb4b91e74
commit 9dfd261c71
3 changed files with 4 additions and 1 deletions

View file

@ -638,6 +638,8 @@ static int impl_node_process(void *object)
io = this->io;
spa_return_val_if_fail(io != NULL, -EIO);
spa_log_trace_fp(this->log, NAME " %p; status %d", this, io->status);
if (io->status == SPA_STATUS_HAVE_DATA)
return SPA_STATUS_HAVE_DATA;

View file

@ -1160,6 +1160,7 @@ static int handle_capture(struct state *state, uint64_t nsec,
io->buffer_id = b->id;
io->status = SPA_STATUS_HAVE_DATA;
spa_log_trace_fp(state->log, NAME" %p: output buffer:%d", state, b->id);
}
spa_node_call_ready(&state->callbacks, SPA_STATUS_HAVE_DATA);
return 0;