summaryrefslogtreecommitdiff
path: root/gst/rist/gstristsink.c
diff options
context:
space:
mode:
authorFrançois Laignel <fengalin@free.fr>2021-04-20 22:18:09 +0200
committerSebastian Dröge <slomo@coaxion.net>2021-05-05 06:17:14 +0000
commitad3d7d34cccefb6551b5ed6545e49cc92fc76291 (patch)
tree9848862d236bc6ca2c49eedc0c0b2dc95f64dcd3 /gst/rist/gstristsink.c
parenteb96f50c45c3ea7b35ff4601192ca5278a102c33 (diff)
downloadgstreamer-plugins-bad-ad3d7d34cccefb6551b5ed6545e49cc92fc76291.tar.gz
Use gst_element_request_pad_simple...
Instead of the deprecated gst_element_get_request_pad. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2180>
Diffstat (limited to 'gst/rist/gstristsink.c')
-rw-r--r--gst/rist/gstristsink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/rist/gstristsink.c b/gst/rist/gstristsink.c
index 1de516d50..9ba1f5539 100644
--- a/gst/rist/gstristsink.c
+++ b/gst/rist/gstristsink.c
@@ -259,7 +259,7 @@ gst_rist_sink_add_bond (GstRistSink * sink)
gst_element_add_pad (sink->rtxbin, pad);
g_snprintf (name, 32, "send_rtp_sink_%u", bond->session);
- pad = gst_element_get_request_pad (sink->rtpbin, name);
+ pad = gst_element_request_pad_simple (sink->rtpbin, name);
gst_object_unref (pad);
}
@@ -761,7 +761,7 @@ gst_rist_sink_start (GstRistSink * sink)
g_object_unref (session);
g_snprintf (name, 32, "src_%u", bond->session);
- pad = gst_element_get_request_pad (sink->dispatcher, name);
+ pad = gst_element_request_pad_simple (sink->dispatcher, name);
gst_element_link_pads (sink->dispatcher, name, bond->rtx_queue, "sink");
gst_object_unref (pad);