mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
deviceprovide: only signal when there is a loop
This commit is contained in:
parent
2e379d5f8f
commit
8f67aa2c38
1 changed files with 2 additions and 1 deletions
|
|
@ -321,7 +321,8 @@ on_state_changed (void *data, enum pw_remote_state old, enum pw_remote_state sta
|
|||
GST_ERROR_OBJECT (self, "remote error: %s", error);
|
||||
break;
|
||||
}
|
||||
pw_thread_loop_signal (self->main_loop, FALSE);
|
||||
if (self->main_loop)
|
||||
pw_thread_loop_signal (self->main_loop, FALSE);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue