ristsrc: Add ristrtpdeext to the pipeline
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1153>
This commit is contained in:
parent
a0de749814
commit
15f89cd088
@ -123,6 +123,7 @@ struct _GstRistSrc
|
|||||||
GstPad *srcpad;
|
GstPad *srcpad;
|
||||||
GstElement *rtxbin;
|
GstElement *rtxbin;
|
||||||
GstElement *rtx_funnel;
|
GstElement *rtx_funnel;
|
||||||
|
GstElement *rtpdeext;
|
||||||
|
|
||||||
/* Common properties, protected by bonds_lock */
|
/* Common properties, protected by bonds_lock */
|
||||||
guint reorder_section;
|
guint reorder_section;
|
||||||
@ -438,7 +439,11 @@ gst_rist_src_init (GstRistSrc * src)
|
|||||||
src->rtx_funnel = gst_element_factory_make ("funnel", "rist_rtx_funnel");
|
src->rtx_funnel = gst_element_factory_make ("funnel", "rist_rtx_funnel");
|
||||||
gst_bin_add (GST_BIN (src->rtxbin), src->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);
|
gpad = gst_ghost_pad_new ("src_0", pad);
|
||||||
gst_object_unref (pad);
|
gst_object_unref (pad);
|
||||||
gst_element_add_pad (src->rtxbin, gpad);
|
gst_element_add_pad (src->rtxbin, gpad);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user