summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCsaba Toth <tocsanti@gmail.com>2015-10-26 21:32:41 +0100
committerTim-Philipp Müller <tim@centricular.com>2015-10-31 11:50:45 +0000
commitc3f1f3ffb56dacae5959c8a1231fdc5695086191 (patch)
tree96acedea2dcc034b1943b121735efa162217d578
parent70a3758a909cce64980c75240e6b6bc90812bc71 (diff)
downloadgstreamer-plugins-base-c3f1f3ffb56dacae5959c8a1231fdc5695086191.tar.gz
multisocketsink: fix "client-removed" signal on 64-bit platforms and with bindings
The client-removed signal used G_INT_TYPE instead of G_SOCKET_TYPE in its definition leading to problems on platforms where the size of a pointer is larger than the size of an integer, It would also not work at all with dynamic language bindings. https://bugzilla.gnome.org/show_bug.cgi?id=757155
-rw-r--r--gst/tcp/gstmultisocketsink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/tcp/gstmultisocketsink.c b/gst/tcp/gstmultisocketsink.c
index d8e587b9e..cf5a4a573 100644
--- a/gst/tcp/gstmultisocketsink.c
+++ b/gst/tcp/gstmultisocketsink.c
@@ -326,7 +326,7 @@ gst_multi_socket_sink_class_init (GstMultiSocketSinkClass * klass)
gst_multi_socket_sink_signals[SIGNAL_CLIENT_REMOVED] =
g_signal_new ("client-removed", G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_generic,
- G_TYPE_NONE, 2, G_TYPE_INT, GST_TYPE_CLIENT_STATUS);
+ G_TYPE_NONE, 2, G_TYPE_SOCKET, GST_TYPE_CLIENT_STATUS);
/**
* GstMultiSocketSink::client-socket-removed:
* @gstmultisocketsink: the multisocketsink element that emitted this signal