filter-graph: set NULL data support in LV2

In LV2, a port supports NULL data if the connectionOptional
property is set.
This commit is contained in:
Niklas Carlsson 2025-08-06 12:05:35 +02:00
parent 2ac708d916
commit 30ba62e47c

View file

@ -550,6 +550,8 @@ static const struct spa_fga_descriptor *lv2_plugin_make_desc(void *plugin, const
fp->flags |= SPA_FGA_PORT_CONTROL;
if (lilv_port_is_a(p->p, port, c->lv2_AudioPort))
fp->flags |= SPA_FGA_PORT_AUDIO;
if (lilv_port_has_property(p->p, port, c->lv2_Optional))
fp->flags |= SPA_FGA_PORT_SUPPORTS_NULL_DATA;
fp->hint = 0;
if (latent && latency_index == i)