diff --git a/spa/examples/local-v4l2.c b/spa/examples/local-v4l2.c index cbd294211..aefdf31c1 100644 --- a/spa/examples/local-v4l2.c +++ b/spa/examples/local-v4l2.c @@ -82,13 +82,6 @@ struct data { bool running; pthread_t thread; - struct spa_source sources[16]; - unsigned int n_sources; - - bool rebuild_fds; - struct pollfd fds[16]; - unsigned int n_fds; - struct spa_buffer *bp[MAX_BUFFERS]; struct buffer buffers[MAX_BUFFERS]; unsigned int n_buffers; @@ -497,7 +490,7 @@ int main(int argc, char *argv[]) } data.control = iface; - data.use_buffer = false; + data.use_buffer = true; data.log = &default_log.log;