[farsight2/master] Seems like we can't marshal a pointer into a gstbuffer and emit signal properly

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:23:42 PST 2008


---
 gst-libs/gst/farsight/fs-stream-transmitter.c |    2 +-
 transmitters/rawudp/fs-rawudp-component.c     |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/gst-libs/gst/farsight/fs-stream-transmitter.c b/gst-libs/gst/farsight/fs-stream-transmitter.c
index ade5b52..d4d6118 100644
--- a/gst-libs/gst/farsight/fs-stream-transmitter.c
+++ b/gst-libs/gst/farsight/fs-stream-transmitter.c
@@ -234,7 +234,7 @@ fs_stream_transmitter_class_init (FsStreamTransmitterClass *klass)
       NULL,
       NULL,
       _fs_marshal_VOID__UINT_POINTER,
-      G_TYPE_NONE, 2, G_TYPE_UINT, GST_TYPE_BUFFER);
+      G_TYPE_NONE, 2, G_TYPE_UINT, G_TYPE_POINTER);
 
   gobject_class->dispose = fs_stream_transmitter_dispose;
   gobject_class->finalize = fs_stream_transmitter_finalize;
diff --git a/transmitters/rawudp/fs-rawudp-component.c b/transmitters/rawudp/fs-rawudp-component.c
index a6fd2cf..75f961e 100644
--- a/transmitters/rawudp/fs-rawudp-component.c
+++ b/transmitters/rawudp/fs-rawudp-component.c
@@ -372,7 +372,7 @@ fs_rawudp_component_class_init (FsRawUdpComponentClass *klass)
       NULL,
       NULL,
       _fs_rawudp_marshal_VOID__UINT_POINTER,
-      G_TYPE_NONE, 2, G_TYPE_UINT, GST_TYPE_BUFFER);
+      G_TYPE_NONE, 2, G_TYPE_UINT, G_TYPE_POINTER);
 
   /**
    * FsRawUdpComponent::error:
@@ -1156,7 +1156,7 @@ buffer_recv_cb (GstPad *pad, GstBuffer *buffer, gpointer user_data)
 
     if (gst_netaddress_equal (&self->priv->remote_address,
             &netbuffer->from))
-      g_signal_emit (self, KNOWN_SOURCE_PACKET_RECEIVED, 0,
+      g_signal_emit (self, signals[KNOWN_SOURCE_PACKET_RECEIVED], 0,
           self->priv->component, buffer);
   }
 
-- 
1.5.6.5




More information about the farsight-commits mailing list