ristsrc: Add ristrtpdeext to the pipeline

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1153>
This commit is contained in:
Olivier Crête 2019-07-29 17:53:21 -04:00 committed by Olivier Crête
parent a0de749814
commit 15f89cd088

View file

@ -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);