Skip to content
Snippets Groups Projects
Commit 27ced4c8 authored by Guillaume Desmottes's avatar Guillaume Desmottes :goat: Committed by GStreamer Marge Bot
Browse files

pulse: fix discovery of newly added devices

Fix regression introduced in 7bc5e28d
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: <gstreamer/gst-plugins-good!626>
parent 87d43746
No related branches found
No related tags found
No related merge requests found
...@@ -341,8 +341,6 @@ context_subscribe_cb (pa_context * context, pa_subscription_event_type_t type, ...@@ -341,8 +341,6 @@ context_subscribe_cb (pa_context * context, pa_subscription_event_type_t type,
if (facility == PA_SUBSCRIPTION_EVENT_SERVER || if (facility == PA_SUBSCRIPTION_EVENT_SERVER ||
facility != PA_SUBSCRIPTION_EVENT_CHANGE) { facility != PA_SUBSCRIPTION_EVENT_CHANGE) {
pa_context_get_server_info (self->context, get_server_info_cb, self); pa_context_get_server_info (self->context, get_server_info_cb, self);
return;
} }
if (facility != PA_SUBSCRIPTION_EVENT_SOURCE && if (facility != PA_SUBSCRIPTION_EVENT_SOURCE &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment