mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
small cleanups
This commit is contained in:
parent
c9fb320987
commit
8b74a3c0d2
4 changed files with 18 additions and 2 deletions
|
|
@ -287,6 +287,9 @@ static int setup_convert(struct impl *this)
|
|||
outport->format.info.raw.rate,
|
||||
outport->format.info.raw.layout);
|
||||
|
||||
if (this->n_links > 0)
|
||||
return 0;
|
||||
|
||||
/* unpack */
|
||||
make_link(this, NULL, 0, this->fmt_in, 0, &inport->format);
|
||||
prev = this->fmt_in;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue