mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 11:55:39 +00:00
globaldevicemonitor: connect sync-message signal on the right object
Fixes criticals at runtime and makes stuff actually work.
This commit is contained in:
parent
a91b51c9b7
commit
64c71323a6
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue