diff options
author | François Laignel <fengalin@free.fr> | 2021-04-20 22:18:09 +0200 |
---|---|---|
committer | Sebastian Dröge <slomo@coaxion.net> | 2021-05-05 06:17:14 +0000 |
commit | ad3d7d34cccefb6551b5ed6545e49cc92fc76291 (patch) | |
tree | 9848862d236bc6ca2c49eedc0c0b2dc95f64dcd3 /gst/rtp/gstrtpsink.c | |
parent | eb96f50c45c3ea7b35ff4601192ca5278a102c33 (diff) | |
download | gstreamer-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/rtp/gstrtpsink.c')
-rw-r--r-- | gst/rtp/gstrtpsink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/rtp/gstrtpsink.c b/gst/rtp/gstrtpsink.c index c94c6dadf..83739fb01 100644 --- a/gst/rtp/gstrtpsink.c +++ b/gst/rtp/gstrtpsink.c @@ -253,7 +253,7 @@ gst_rtp_sink_request_new_pad (GstElement * element, return NULL; GST_RTP_SINK_LOCK (self); - pad = gst_element_get_request_pad (self->rtpbin, "send_rtp_sink_%u"); + pad = gst_element_request_pad_simple (self->rtpbin, "send_rtp_sink_%u"); GST_RTP_SINK_UNLOCK (self); g_return_val_if_fail (pad != NULL, NULL); |