mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
policy-node: don't move to the current target
This commit is contained in:
parent
7915bf5778
commit
8c4b594b50
1 changed files with 3 additions and 0 deletions
|
|
@ -683,6 +683,9 @@ static int handle_move(struct impl *impl, struct node *src_node, struct node *ds
|
||||||
const char *str;
|
const char *str;
|
||||||
struct pw_node_info *info;
|
struct pw_node_info *info;
|
||||||
|
|
||||||
|
if (src_node->peer == dst_node)
|
||||||
|
return 0;
|
||||||
|
|
||||||
if ((info = src_node->obj->info) == NULL)
|
if ((info = src_node->obj->info) == NULL)
|
||||||
return -EIO;
|
return -EIO;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue