diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2007-04-10 09:14:07 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2007-04-10 09:14:07 +0000 |
commit | 8db0d2bcab91315deaf53f97fb8e3213d7e6ff6d (patch) | |
tree | 988fa38cd6bfa85662df0ecf51eddd78f55f6f5b /gst/rtpmanager/gstrtpssrcdemux.c | |
parent | 9894c6ad51e860fbc4474703c0a3e67a950ac359 (diff) | |
download | gst-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/gstrtpssrcdemux.c')
-rw-r--r-- | gst/rtpmanager/gstrtpssrcdemux.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gst/rtpmanager/gstrtpssrcdemux.c b/gst/rtpmanager/gstrtpssrcdemux.c index 3237100c..17e421fe 100644 --- a/gst/rtpmanager/gstrtpssrcdemux.c +++ b/gst/rtpmanager/gstrtpssrcdemux.c @@ -26,6 +26,7 @@ #include <string.h> #include <gst/rtp/gstrtpbuffer.h> +#include "gstrtpbin-marshal.h" #include "gstrtpssrcdemux.h" GST_DEBUG_CATEGORY_STATIC (gst_rtp_ssrc_demux_debug); @@ -87,6 +88,7 @@ struct _GstRTPSsrcDemuxPad { GstPad *pad; guint32 ssrc; + GstCaps *caps; }; /* find a src pad for a given SSRC, returns NULL if the SSRC was not found @@ -167,8 +169,8 @@ gst_rtp_ssrc_demux_class_init (GstRTPSsrcDemuxClass * klass) g_signal_new ("new-ssrc-pad", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstRTPSsrcDemuxClass, new_ssrc_pad), - NULL, NULL, g_cclosure_marshal_VOID__UINT_POINTER, - G_TYPE_NONE, 2, G_TYPE_INT, GST_TYPE_PAD); + NULL, NULL, gst_rtp_bin_marshal_VOID__UINT_OBJECT, + G_TYPE_NONE, 2, G_TYPE_UINT, GST_TYPE_PAD); gstelement_klass->change_state = GST_DEBUG_FUNCPTR (gst_rtp_ssrc_demux_change_state); |