summaryrefslogtreecommitdiffstats
path: root/gst/rtpmanager/gstrtpmanager.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2007-04-04 10:23:15 +0000
committerWim Taymans <wim.taymans@gmail.com>2007-04-04 10:23:15 +0000
commit12192a5fac0b6405ba3d608ba6d09ee71b6dc1f9 (patch)
treec265b3103529a02f62440ba9785a088f2690807d /gst/rtpmanager/gstrtpmanager.c
parent1f426a417e42c867e69b14a8f3dcebba48582a84 (diff)
downloadgst-plugins-bad-12192a5fac0b6405ba3d608ba6d09ee71b6dc1f9.tar.gz
gst-plugins-bad-12192a5fac0b6405ba3d608ba6d09ee71b6dc1f9.tar.bz2
gst-plugins-bad-12192a5fac0b6405ba3d608ba6d09ee71b6dc1f9.zip
gst/rtpmanager/: Added simple SSRC demuxer.
Original commit message from CVS: * gst/rtpmanager/Makefile.am: * gst/rtpmanager/gstrtpmanager.c: (plugin_init): * gst/rtpmanager/gstrtpssrcdemux.c: (find_pad_for_ssrc), (create_pad_for_ssrc), (gst_rtp_ssrc_demux_base_init), (gst_rtp_ssrc_demux_class_init), (gst_rtp_ssrc_demux_init), (gst_rtp_ssrc_demux_finalize), (gst_rtp_ssrc_demux_sink_event), (gst_rtp_ssrc_demux_chain), (gst_rtp_ssrc_demux_src_event), (gst_rtp_ssrc_demux_change_state): * gst/rtpmanager/gstrtpssrcdemux.h: Added simple SSRC demuxer.
Diffstat (limited to 'gst/rtpmanager/gstrtpmanager.c')
-rw-r--r--gst/rtpmanager/gstrtpmanager.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gst/rtpmanager/gstrtpmanager.c b/gst/rtpmanager/gstrtpmanager.c
index a059cad8..d71d850c 100644
--- a/gst/rtpmanager/gstrtpmanager.c
+++ b/gst/rtpmanager/gstrtpmanager.c
@@ -25,6 +25,7 @@
#include "gstrtpjitterbuffer.h"
#include "gstrtpptdemux.h"
#include "gstrtpsession.h"
+#include "gstrtpssrcdemux.h"
static gboolean
plugin_init (GstPlugin * plugin)
@@ -45,6 +46,10 @@ plugin_init (GstPlugin * plugin)
GST_TYPE_RTP_SESSION))
return FALSE;
+ if (!gst_element_register (plugin, "rtpssrcdemux", GST_RANK_NONE,
+ GST_TYPE_RTP_SSRC_DEMUX))
+ return FALSE;
+
return TRUE;
}