summaryrefslogtreecommitdiff
path: root/spa/plugins/videotestsrc/videotestsrc.c
diff options
context:
space:
mode:
Diffstat (limited to 'spa/plugins/videotestsrc/videotestsrc.c')
-rw-r--r--spa/plugins/videotestsrc/videotestsrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/spa/plugins/videotestsrc/videotestsrc.c b/spa/plugins/videotestsrc/videotestsrc.c
index a31ee930..3a956fc2 100644
--- a/spa/plugins/videotestsrc/videotestsrc.c
+++ b/spa/plugins/videotestsrc/videotestsrc.c
@@ -821,7 +821,7 @@ static int impl_node_process_output(struct spa_node *node)
this = SPA_CONTAINER_OF(node, struct impl, node);
io = this->io;
- spa_return_val_if_fail(io != NULL, SPA_RESULT_WRONG_STATE);
+ spa_return_val_if_fail(io != NULL, SPA_RESULT_UNEXPECTED);
if (io->status == SPA_RESULT_HAVE_BUFFER)
return SPA_RESULT_HAVE_BUFFER;