mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
media-session: save last target_node
Keep a per node entry of the saved target node and use this when there is no other target node. When explicitly moving a stream, save the new target node.
This commit is contained in:
parent
1bd31c1cf1
commit
3733a5e219
4 changed files with 66 additions and 45 deletions
|
|
@ -144,6 +144,9 @@ struct sm_node {
|
|||
struct spa_list param_list; /**< list of sm_param */
|
||||
struct pw_node_info *info;
|
||||
struct spa_list port_list;
|
||||
|
||||
char *target_node; /** desired target node from stored
|
||||
* preferences */
|
||||
};
|
||||
|
||||
struct sm_port {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue