From 64c71323a6b489e3a836bbe57261705ef538f376 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Sun, 1 Jun 2014 23:51:20 +0100 Subject: [PATCH] globaldevicemonitor: connect sync-message signal on the right object Fixes criticals at runtime and makes stuff actually work. --- gst/gstglobaldevicemonitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/gstglobaldevicemonitor.c b/gst/gstglobaldevicemonitor.c index 5366e86..73341bf 100644 --- a/gst/gstglobaldevicemonitor.c +++ b/gst/gstglobaldevicemonitor.c @@ -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); } -- 2.7.4