+2004-07-20 Wim Taymans <wim@fluendo.com>
+
+ * gst/tcp/gstmultifdsink.c: (gst_multifdsink_class_init),
+ (gst_multifdsink_add), (gst_multifdsink_client_remove),
+ (gst_multifdsink_handle_client_write),
+ (gst_multifdsink_queue_buffer):
+ * gst/tcp/gsttcp-marshal.list:
+ Fixed the stupid marshal definition.
+
2004-07-20 Wim Taymans <wim@fluendo.com>
* gst/tcp/gstmultifdsink.c: (gst_multifdsink_class_init),
gst_multifdsink_signals[SIGNAL_CLIENT_ADDED] =
g_signal_new ("client-added", G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstMultiFdSinkClass, client_added),
- NULL, NULL, gst_tcp_marshal_VOID__STRING_UINT, G_TYPE_NONE, 2,
- G_TYPE_STRING, G_TYPE_UINT);
+ NULL, NULL, gst_tcp_marshal_VOID__INT, G_TYPE_NONE, 1, G_TYPE_INT);
gst_multifdsink_signals[SIGNAL_CLIENT_REMOVED] =
g_signal_new ("client-removed", G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstMultiFdSinkClass,
- client_removed), NULL, NULL, gst_tcp_marshal_VOID__STRING_UINT,
- G_TYPE_NONE, 2, G_TYPE_STRING, G_TYPE_UINT);
+ client_removed), NULL, NULL, gst_tcp_marshal_VOID__INT,
+ G_TYPE_NONE, 1, G_TYPE_INT);
gobject_class->set_property = gst_multifdsink_set_property;
gobject_class->get_property = gst_multifdsink_get_property;
g_mutex_unlock (sink->clientslock);
g_signal_emit (G_OBJECT (sink),
- gst_multifdsink_signals[SIGNAL_CLIENT_ADDED], 0, NULL, fd);
+ gst_multifdsink_signals[SIGNAL_CLIENT_ADDED], 0, fd);
}
void
client->connect_interval = client->disconnect_time = client->connect_time;
g_signal_emit (G_OBJECT (sink),
- gst_multifdsink_signals[SIGNAL_CLIENT_REMOVED], 0, NULL, fd);
+ gst_multifdsink_signals[SIGNAL_CLIENT_REMOVED], 0, fd);
sink->clients = g_list_remove (sink->clients, client);