projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a91b51c
)
globaldevicemonitor: connect sync-message signal on the right object
author
Tim-Philipp Müller
<tim@centricular.com>
Sun, 1 Jun 2014 22:51:20 +0000
(23:51 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sun, 1 Jun 2014 22:51:20 +0000
(23:51 +0100)
Fixes criticals at runtime and makes stuff actually work.
gst/gstglobaldevicemonitor.c
patch
|
blob
|
history
diff --git
a/gst/gstglobaldevicemonitor.c
b/gst/gstglobaldevicemonitor.c
index
5366e86
..
73341bf
100644
(file)
--- 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);
}