mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-25 06:59:57 -05:00
stream: deactivate a stream when unlinked
This commit is contained in:
parent
d4cf47ec55
commit
093a068d34
1 changed files with 1 additions and 0 deletions
|
|
@ -635,6 +635,7 @@ static void stream_unlink(pa_stream *s)
|
||||||
}
|
}
|
||||||
|
|
||||||
spa_list_remove(&s->link);
|
spa_list_remove(&s->link);
|
||||||
|
pw_stream_set_active(s->stream, false);
|
||||||
|
|
||||||
s->context = NULL;
|
s->context = NULL;
|
||||||
pa_stream_unref(s);
|
pa_stream_unref(s);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue