Skip to content
Snippets Groups Projects
Commit f08cd65a authored by Guillaume Desmottes's avatar Guillaume Desmottes :goat: Committed by Tim-Philipp Müller
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 07e0e8ff
No related branches found
No related tags found
Loading
Checking pipeline status
...@@ -337,8 +337,6 @@ context_subscribe_cb (pa_context * context, pa_subscription_event_type_t type, ...@@ -337,8 +337,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