pipewire/src
Jonas Holmberg 269f42430e gst: deviceprovider: take a ref to devices
When _probe() is called, take a ref to the newly created devices instead
if sinking the floating ref, since gst_clear_object() is called when
core is disconnected. Otherwise the devices will be freed before the
caller gets them.

Fixes the following assert in the caller:

g_object_is_floating: assertion 'G_IS_OBJECT (object)' failed

Or sometimes a segfault with the backtrace:

0  g_type_check_instance_is_fundamentally_a (type_instance=type_instance@entry=0x116c1b0, fundamental_type=fundamental_type@entry=80) at /usr/src/debug/glib-2.0/2.84.0/gobject/gtype.c:3918
1  0xb6d40cc6 in g_object_is_floating (_object=0x116c1b0) at /usr/src/debug/glib-2.0/2.84.0/gobject/gobject.c:3843
2  0xb6bc4c74 in gst_device_provider_get_devices (provider=0x109ba00) at /usr/src/debug/gstreamer1.0/1.24.12/gst/gstdeviceprovider.c:426
2025-06-10 11:01:28 +02:00
..
daemon daemon/pipewire.conf.avail: Add snippet enabling module-raop 2025-05-20 10:54:43 +02:00
examples Use "8 bit raw midi" for control ports again 2025-05-23 17:00:05 +02:00
gst gst: deviceprovider: take a ref to devices 2025-06-10 11:01:28 +02:00
modules pulse-server: Implement record PA_STREAM_DONT_INHIBIT_AUTO_SUSPEND 2025-06-03 16:19:12 +02:00
pipewire Use "8 bit raw midi" for control ports again 2025-05-23 17:00:05 +02:00
tests pw-container: use smaller path for temporary file 2024-06-27 21:18:06 +00:00
tools Use "8 bit raw midi" for control ports again 2025-05-23 17:00:05 +02:00
meson.build meson.build: fix compile with -Dexamples=disabled 2023-11-28 10:18:25 +00:00