summaryrefslogtreecommitdiff
path: root/gst/rtp/gstrtpsink.c
diff options
context:
space:
mode:
authorMarc Leeman <marc.leeman@gmail.com>2019-09-23 10:30:40 +0200
committerTim-Philipp Müller <tim@centricular.com>2019-11-17 16:00:19 +0000
commit1569c33f248ecf33c86d14fbe52f35c037e0e933 (patch)
treec57e541cb4bba57ef728b51302c50bbe3e679056 /gst/rtp/gstrtpsink.c
parente9c68347f0c82dc09cc2411196d9a56d60e4591e (diff)
downloadgstreamer-plugins-bad-1569c33f248ecf33c86d14fbe52f35c037e0e933.tar.gz
rtpmanagerbad: name the element children
As discussed with RIST, it is best to name the children of the elements since these are now created at the element initialisation.
Diffstat (limited to 'gst/rtp/gstrtpsink.c')
-rw-r--r--gst/rtp/gstrtpsink.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gst/rtp/gstrtpsink.c b/gst/rtp/gstrtpsink.c
index 0c0b7dfc1..cc4b33586 100644
--- a/gst/rtp/gstrtpsink.c
+++ b/gst/rtp/gstrtpsink.c
@@ -546,7 +546,7 @@ gst_rtp_sink_init (GstRtpSink * self)
* | rtpbin |
* udpsrc -> [recv_rtcp_sink_%u] -------- [send_rtcp_src_%u] -> * udpsink
*/
- self->rtpbin = gst_element_factory_make ("rtpbin", NULL);
+ self->rtpbin = gst_element_factory_make ("rtpbin", "rtp_send_rtpbin0");
if (self->rtpbin == NULL) {
missing_plugin = "rtpmanager";
goto missing_plugin;
@@ -566,31 +566,31 @@ gst_rtp_sink_init (GstRtpSink * self)
gst_bin_set_suppressed_flags (GST_BIN (self),
GST_ELEMENT_FLAG_SOURCE | GST_ELEMENT_FLAG_SINK);
- self->funnel_rtp = gst_element_factory_make ("funnel", NULL);
+ self->funnel_rtp = gst_element_factory_make ("funnel", "rtp_rtp_funnel0");
if (self->funnel_rtp == NULL) {
missing_plugin = "funnel";
goto missing_plugin;
}
- self->funnel_rtcp = gst_element_factory_make ("funnel", NULL);
+ self->funnel_rtcp = gst_element_factory_make ("funnel", "rtp_rtcp_funnel0");
if (self->funnel_rtcp == NULL) {
missing_plugin = "funnel";
goto missing_plugin;
}
- self->rtp_sink = gst_element_factory_make ("udpsink", NULL);
+ self->rtp_sink = gst_element_factory_make ("udpsink", "rtp_rtp_udpsink0");
if (self->rtp_sink == NULL) {
missing_plugin = "udp";
goto missing_plugin;
}
- self->rtcp_src = gst_element_factory_make ("udpsrc", NULL);
+ self->rtcp_src = gst_element_factory_make ("udpsrc", "rtp_rtcp_udpsrc0");
if (self->rtcp_src == NULL) {
missing_plugin = "udp";
goto missing_plugin;
}
- self->rtcp_sink = gst_element_factory_make ("udpsink", NULL);
+ self->rtcp_sink = gst_element_factory_make ("udpsink", "rtp_rtcp_udpsink0");
if (self->rtcp_sink == NULL) {
missing_plugin = "udp";
goto missing_plugin;