mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
media-session: don't crash if obj->info is missing
This commit is contained in:
parent
e6d7b1aa70
commit
4f8ff41a45
1 changed files with 3 additions and 0 deletions
|
|
@ -214,6 +214,9 @@ static bool check_passthrough(struct node *node, struct node *peer)
|
|||
struct spa_pod_builder b;
|
||||
struct spa_pod *res;
|
||||
|
||||
if (peer->obj->info == NULL)
|
||||
return false;
|
||||
|
||||
if (peer->obj->info->state == PW_NODE_STATE_RUNNING)
|
||||
return false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue