diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.com> | 2020-06-15 13:05:49 +0200 |
---|---|---|
committer | GStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2020-09-25 10:41:12 +0000 |
commit | ae4df167ac59a939750ad793c4dbed4fd74843f7 (patch) | |
tree | 1adc5912eb1d746ce2a32b6881248bfa4e77368e | |
parent | 50233ce6f11b5d8e7e289ce49b64e66698920142 (diff) | |
download | gstreamer-plugins-good-ae4df167ac59a939750ad793c4dbed4fd74843f7.tar.gz |
pulse: fix discovery of newly added devices
Fix regression introduced in 7bc5e28d85992b03e5852879b8d4d96043496caf
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/747>
-rw-r--r-- | ext/pulse/pulsedeviceprovider.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/pulse/pulsedeviceprovider.c b/ext/pulse/pulsedeviceprovider.c index 28b0de181..7fafb65d2 100644 --- a/ext/pulse/pulsedeviceprovider.c +++ b/ext/pulse/pulsedeviceprovider.c @@ -337,8 +337,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 && |