summaryrefslogtreecommitdiff
path: root/src/examples/local-v4l2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/local-v4l2.c')
-rw-r--r--src/examples/local-v4l2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/examples/local-v4l2.c b/src/examples/local-v4l2.c
index 4a8dac5c..3c5d50b5 100644
--- a/src/examples/local-v4l2.c
+++ b/src/examples/local-v4l2.c
@@ -316,9 +316,9 @@ static int impl_node_process(void *object)
handle_events(d);
- d->io->status = SPA_STATUS_NEED_BUFFER;
+ d->io->status = SPA_STATUS_NEED_DATA;
- return SPA_STATUS_NEED_BUFFER;
+ return SPA_STATUS_NEED_DATA;
}
static const struct spa_node_methods impl_node = {