mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
pulse: fix discovery of newly added devices
Fix regression introduced in 7bc5e28d85
preventing the device provider to send the device-added message for new
devices.
By early returning the patch was discarding add/remove events.
Fix #735
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/626>
This commit is contained in:
parent
87d4374655
commit
27ced4c8e6
1 changed files with 0 additions and 2 deletions
|
@ -341,8 +341,6 @@ context_subscribe_cb (pa_context * context, pa_subscription_event_type_t type,
|
|||
if (facility == PA_SUBSCRIPTION_EVENT_SERVER ||
|
||||
facility != PA_SUBSCRIPTION_EVENT_CHANGE) {
|
||||
pa_context_get_server_info (self->context, get_server_info_cb, self);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
if (facility != PA_SUBSCRIPTION_EVENT_SOURCE &&
|
||||
|
|
Loading…
Reference in a new issue