mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
policy-node: only send PortConfig on audio nodes
0.2 version don't handle this correctly. Possibly fixes #270
This commit is contained in:
parent
6b50279364
commit
dd0f4c7295
1 changed files with 3 additions and 0 deletions
|
@ -150,6 +150,9 @@ static int configure_node(struct node *node, struct spa_audio_info *info, bool f
|
|||
if (node->configured && !force)
|
||||
return 0;
|
||||
|
||||
if (strcmp(node->media, "Audio") != 0)
|
||||
return 0;
|
||||
|
||||
format = node->format;
|
||||
|
||||
if (info != NULL && info->info.raw.channels > 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue