filter-graph: error when there are no valid nodes

The nodes might have failed to load or there was an empty array or the
array did not contain objects.
This commit is contained in:
Wim Taymans 2026-05-07 13:30:41 +02:00
parent c91e9ded7d
commit 0b11792194
2 changed files with 5 additions and 2 deletions

View file

@ -1619,7 +1619,7 @@ static const struct pw_stream_events out_stream_events = {
static int setup_streams(struct impl *impl)
{
int res;
int res = 0;
uint32_t i, n_params, *offs, flags;
struct pw_array offsets;
const struct spa_pod **params = NULL;