diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2019-07-29 17:53:21 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@ocrete.ca> | 2020-04-30 18:31:32 +0000 |
commit | 15f89cd08896fa932b213e4e4b2edf5b82153776 (patch) | |
tree | e246fae9dd672ce10ff706abf23278dedc043760 /gst/rist | |
parent | a0de749814f7c11a910a7894dd415032e539599b (diff) | |
download | gstreamer-plugins-bad-15f89cd08896fa932b213e4e4b2edf5b82153776.tar.gz |
ristsrc: Add ristrtpdeext to the pipeline
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1153>
Diffstat (limited to 'gst/rist')
-rw-r--r-- | gst/rist/gstristsrc.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gst/rist/gstristsrc.c b/gst/rist/gstristsrc.c index 56a5e3956..349fcd262 100644 --- a/gst/rist/gstristsrc.c +++ b/gst/rist/gstristsrc.c @@ -123,6 +123,7 @@ struct _GstRistSrc GstPad *srcpad; GstElement *rtxbin; GstElement *rtx_funnel; + GstElement *rtpdeext; /* Common properties, protected by bonds_lock */ guint reorder_section; @@ -438,7 +439,11 @@ gst_rist_src_init (GstRistSrc * src) src->rtx_funnel = gst_element_factory_make ("funnel", "rist_rtx_funnel"); gst_bin_add (GST_BIN (src->rtxbin), src->rtx_funnel); - pad = gst_element_get_static_pad (src->rtx_funnel, "src"); + src->rtpdeext = gst_element_factory_make ("ristrtpdeext", "rist_rtp_de_ext"); + gst_bin_add (GST_BIN (src->rtxbin), src->rtpdeext); + gst_element_link (src->rtx_funnel, src->rtpdeext); + + pad = gst_element_get_static_pad (src->rtpdeext, "src"); gpad = gst_ghost_pad_new ("src_0", pad); gst_object_unref (pad); gst_element_add_pad (src->rtxbin, gpad); |