summaryrefslogtreecommitdiffstats
path: root/gst/rtpmanager/gstrtpptdemux.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2007-04-10 09:14:07 +0000
committerWim Taymans <wim.taymans@gmail.com>2007-04-10 09:14:07 +0000
commit8db0d2bcab91315deaf53f97fb8e3213d7e6ff6d (patch)
tree988fa38cd6bfa85662df0ecf51eddd78f55f6f5b /gst/rtpmanager/gstrtpptdemux.c
parent9894c6ad51e860fbc4474703c0a3e67a950ac359 (diff)
downloadgst-plugins-bad-8db0d2bcab91315deaf53f97fb8e3213d7e6ff6d.tar.gz
gst-plugins-bad-8db0d2bcab91315deaf53f97fb8e3213d7e6ff6d.tar.bz2
gst-plugins-bad-8db0d2bcab91315deaf53f97fb8e3213d7e6ff6d.zip
gst/rtpmanager/: Added custom marshallers for signals.
Original commit message from CVS: * gst/rtpmanager/.cvsignore: * gst/rtpmanager/Makefile.am: * gst/rtpmanager/gstrtpbin-marshal.list: Added custom marshallers for signals. * gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_class_init): * gst/rtpmanager/gstrtpbin.h: Prepare for emiting pt map signals. * gst/rtpmanager/gstrtpptdemux.c: (gst_rtp_pt_demux_class_init): * gst/rtpmanager/gstrtpssrcdemux.c: (gst_rtp_ssrc_demux_class_init): Fix signals.
Diffstat (limited to 'gst/rtpmanager/gstrtpptdemux.c')
-rw-r--r--gst/rtpmanager/gstrtpptdemux.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/gst/rtpmanager/gstrtpptdemux.c b/gst/rtpmanager/gstrtpptdemux.c
index d7ff34d9..705210b6 100644
--- a/gst/rtpmanager/gstrtpptdemux.c
+++ b/gst/rtpmanager/gstrtpptdemux.c
@@ -48,9 +48,11 @@
#include <string.h>
#include <gst/gst.h>
-#include "gstrtpptdemux.h"
#include <gst/rtp/gstrtpbuffer.h>
+#include "gstrtpbin-marshal.h"
+#include "gstrtpptdemux.h"
+
/* generic templates */
static GstStaticPadTemplate rtp_pt_demux_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
@@ -138,14 +140,14 @@ gst_rtp_pt_demux_class_init (GstRTPPtDemuxClass * klass)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GstRTPPtDemuxClass, new_payload_type),
NULL, NULL,
- g_cclosure_marshal_VOID__UINT_POINTER,
+ gst_rtp_bin_marshal_VOID__UINT_OBJECT,
G_TYPE_NONE, 2, G_TYPE_INT, GST_TYPE_PAD);
gst_rtp_pt_demux_signals[SIGNAL_PAYLOAD_TYPE_CHANGE] =
g_signal_new ("payload-type-change",
G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GstRTPPtDemuxClass, payload_type_change),
- NULL, NULL, gst_marshal_VOID__INT, G_TYPE_NONE, 1, G_TYPE_INT);
+ NULL, NULL, g_cclosure_marshal_VOID__INT, G_TYPE_NONE, 1, G_TYPE_INT);
gobject_klass->finalize = GST_DEBUG_FUNCPTR (gst_rtp_pt_demux_finalize);