*testsrc: async == live for now

This commit is contained in:
Wim Taymans 2017-10-18 10:04:31 +02:00
parent 65a8bc8b34
commit 530caf35db
2 changed files with 2 additions and 2 deletions

View file

@ -841,7 +841,7 @@ static int impl_node_process_output(struct spa_node *node)
this->io->buffer_id = SPA_ID_INVALID; this->io->buffer_id = SPA_ID_INVALID;
} }
if (!this->async && (io->status == SPA_RESULT_NEED_BUFFER)) if (!this->props.live && (io->status == SPA_RESULT_NEED_BUFFER))
return make_buffer(this); return make_buffer(this);
else else
return SPA_RESULT_OK; return SPA_RESULT_OK;

View file

@ -785,7 +785,7 @@ static int impl_node_process_output(struct spa_node *node)
this->io->buffer_id = SPA_ID_INVALID; this->io->buffer_id = SPA_ID_INVALID;
} }
if (!this->async && (io->status == SPA_RESULT_NEED_BUFFER)) if (!this->props.live && (io->status == SPA_RESULT_NEED_BUFFER))
return make_buffer(this); return make_buffer(this);
else else
return SPA_RESULT_OK; return SPA_RESULT_OK;