From: Wim Taymans Date: Thu, 7 May 2009 20:01:01 +0000 (+0200) Subject: multifdsink: fix signature of the add-full signal X-Git-Tag: 1.19.3~511^2~9723 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7c61249ceb84e84d0ce233e567297d6731560c9a;p=platform%2Fupstream%2Fgstreamer.git multifdsink: fix signature of the add-full signal The second parameter is a GstSyncMethod enum, not a boolean. --- diff --git a/gst/tcp/gstmultifdsink.c b/gst/tcp/gstmultifdsink.c index 22dc9cb..b558e52 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 3a7fa9b..0d7208e 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