mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
filter-graph: remove useless check
This commit is contained in:
parent
2d4af3ced5
commit
37dbf93cc4
1 changed files with 2 additions and 3 deletions
|
|
@ -256,9 +256,8 @@ static int impl_process(void *object,
|
|||
if (out[i] == NULL)
|
||||
continue;
|
||||
|
||||
port = i < graph->n_output ? &graph->output[i] : NULL;
|
||||
|
||||
if (port && port->desc)
|
||||
port = &graph->output[i];
|
||||
if (port->desc)
|
||||
port->desc->connect_port(*port->hndl, port->port, out[i]);
|
||||
else
|
||||
memset(out[i], 0, n_samples * sizeof(float));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue