mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
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:
parent
2ac708d916
commit
30ba62e47c
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue