From 7c61249ceb84e84d0ce233e567297d6731560c9a Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 7 May 2009 22:01:01 +0200 Subject: [PATCH] multifdsink: fix signature of the add-full signal The second parameter is a GstSyncMethod enum, not a boolean. --- gst/tcp/gstmultifdsink.c | 6 +++--- gst/tcp/gsttcp-marshal.list | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gst/tcp/gstmultifdsink.c b/gst/tcp/gstmultifdsink.c index 22dc9cb80c..b558e52efe 100644 --- a/gst/tcp/gstmultifdsink.c +++ b/gst/tcp/gstmultifdsink.c @@ -536,7 +536,7 @@ gst_multi_fd_sink_class_init (GstMultiFdSinkClass * klass) * GstMultiFdSink::add-full: * @gstmultifdsink: the multifdsink element to emit this signal on * @fd: the file descriptor to add to multifdsink - * @keyframe: start bursting from a keyframe + * @sync: the sync method to use * @unit_type_min: the unit-type of @value_min * @value_min: the minimum amount of data to burst expressed in * @unit_type_min units. @@ -551,8 +551,8 @@ gst_multi_fd_sink_class_init (GstMultiFdSinkClass * klass) g_signal_new ("add-full", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_STRUCT_OFFSET (GstMultiFdSinkClass, add_full), NULL, NULL, - gst_tcp_marshal_VOID__INT_BOOLEAN_INT_UINT64_INT_UINT64, G_TYPE_NONE, 6, - G_TYPE_INT, G_TYPE_BOOLEAN, GST_TYPE_UNIT_TYPE, G_TYPE_UINT64, + gst_tcp_marshal_VOID__INT_ENUM_INT_UINT64_INT_UINT64, G_TYPE_NONE, 6, + G_TYPE_INT, GST_TYPE_SYNC_METHOD, GST_TYPE_UNIT_TYPE, G_TYPE_UINT64, GST_TYPE_UNIT_TYPE, G_TYPE_UINT64); /** * GstMultiFdSink::remove: diff --git a/gst/tcp/gsttcp-marshal.list b/gst/tcp/gsttcp-marshal.list index 3a7fa9b294..0d7208e1a6 100644 --- a/gst/tcp/gsttcp-marshal.list +++ b/gst/tcp/gsttcp-marshal.list @@ -1,5 +1,5 @@ VOID:STRING,UINT VOID:INT VOID:INT,BOXED -VOID:INT,BOOLEAN,INT,UINT64,INT,UINT64 +VOID:INT,ENUM,INT,UINT64,INT,UINT64 BOXED:INT