gst/tcp/: Fixed the stupid marshal definition.
authorWim Taymans <wim.taymans@gmail.com>
Tue, 20 Jul 2004 10:04:00 +0000 (10:04 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Tue, 20 Jul 2004 10:04:00 +0000 (10:04 +0000)
Original commit message from CVS:
* 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.

ChangeLog
gst/tcp/gstmultifdsink.c
gst/tcp/gsttcp-marshal.list

index 00b57af4b08eaf52f62043cefe324294a3bc46ca..0b0bee7266c02bed3538a456f176197b630d6d28 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+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),
index 15cf2700072205f060ec5149512ff301dbf77720..6bad02f66c2589a2f0140b827eaf3f4553405bc9 100644 (file)
@@ -241,13 +241,12 @@ gst_multifdsink_class_init (GstMultiFdSinkClass * klass)
   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;
@@ -332,7 +331,7 @@ gst_multifdsink_add (GstMultiFdSink * sink, int fd)
   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
@@ -434,7 +433,7 @@ gst_multifdsink_client_remove (GstMultiFdSink * sink, GstTCPClient * client)
   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);
 
index 7d4a258dad6a5c605dd23785ff7632323c4947d5..c50d52a65a72d238a7c5930390327568e59cf2cf 100644 (file)
@@ -1,2 +1,3 @@
 VOID:STRING,UINT
+VOID:INT
 BOXED:INT