pulse: fix discovery of newly added devices
authorGuillaume Desmottes <guillaume.desmottes@collabora.com>
Mon, 15 Jun 2020 11:05:49 +0000 (13:05 +0200)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 18 Jun 2020 14:05:42 +0000 (14:05 +0000)
commit27ced4c8e6ab62c906016f15a793536445285691
treedea29b18e70a52c5bccddfe6a6f72dd4b5113a47
parent87d43746550db8d5ad510aa0bc8844dd9e171468
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/626>
ext/pulse/pulsedeviceprovider.c