pipewire/spa/plugins/videotestsrc
Michael Tretter e3fb4301eb videotestsrc: implement impl_node_set_io to fix segfault while loading
In pw_context_recalc_graph, PipeWire takes the currently configured
clock target duration from the position as target rate. The position is
not set for the videotestsrc since the set_io function is not
implemented. This leads to a segfault when the videotestsrc is
configured and loaded.

Add the same dummy implementation of set_io as in the v4l2-source and
the libcamera-source to prevent the segfault.
2023-10-26 15:54:10 +02:00
..
draw.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
meson.build treewide: meson.build: use dependency variable for SPA 2021-12-28 18:34:06 +01:00
plugin.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
videotestsrc.c videotestsrc: implement impl_node_set_io to fix segfault while loading 2023-10-26 15:54:10 +02:00