Commit 64c71323 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

globaldevicemonitor: connect sync-message signal on the right object

Fixes criticals at runtime and makes stuff actually work.
parent a91b51c9
......@@ -114,7 +114,7 @@ gst_global_device_monitor_init (GstGlobalDeviceMonitor * self)
GstBus *bus = gst_device_monitor_get_bus (monitor);
gst_bus_enable_sync_message_emission (bus);
g_signal_connect (monitor, "sync-message",
g_signal_connect (bus, "sync-message",
G_CALLBACK (bus_sync_message), self);
g_ptr_array_add (self->priv->monitors, monitor);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment