mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 15:08:53 +00:00
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
This commit is contained in:
parent
a95a900c21
commit
3159501002
1 changed files with 1 additions and 1 deletions
|
@ -326,7 +326,7 @@ gst_multi_socket_sink_class_init (GstMultiSocketSinkClass * klass)
|
||||||
gst_multi_socket_sink_signals[SIGNAL_CLIENT_REMOVED] =
|
gst_multi_socket_sink_signals[SIGNAL_CLIENT_REMOVED] =
|
||||||
g_signal_new ("client-removed", G_TYPE_FROM_CLASS (klass),
|
g_signal_new ("client-removed", G_TYPE_FROM_CLASS (klass),
|
||||||
G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_generic,
|
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::client-socket-removed:
|
||||||
* @gstmultisocketsink: the multisocketsink element that emitted this signal
|
* @gstmultisocketsink: the multisocketsink element that emitted this signal
|
||||||
|
|
Loading…
Reference in a new issue