diff options
author | François Laignel <fengalin@free.fr> | 2021-04-21 10:47:51 +0200 |
---|---|---|
committer | Sebastian Dröge <slomo@coaxion.net> | 2021-05-05 06:16:53 +0000 |
commit | ec5b267249af8bbe33de1af51863b0285a9831f3 (patch) | |
tree | 0652ea676e005629cf9e62ab8f8aa413d069c19b /plugins/nle/nleoperation.c | |
parent | 6cd13c3b0956c4b8994b18533085f3efa08dfe48 (diff) |
Use gst_element_request_pad_simple...
Instead of the deprecated gst_element_get_request_pad.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/240>
Diffstat (limited to 'plugins/nle/nleoperation.c')
-rw-r--r-- | plugins/nle/nleoperation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/nle/nleoperation.c b/plugins/nle/nleoperation.c index 34d60ffc..b39fdd7e 100644 --- a/plugins/nle/nleoperation.c +++ b/plugins/nle/nleoperation.c @@ -639,7 +639,7 @@ get_request_sink_pad (NleOperation * operation) if ((GST_PAD_TEMPLATE_DIRECTION (templ) == GST_PAD_SINK) && (GST_PAD_TEMPLATE_PRESENCE (templ) == GST_PAD_REQUEST)) { pad = - gst_element_get_request_pad (operation->element, + gst_element_request_pad_simple (operation->element, GST_PAD_TEMPLATE_NAME_TEMPLATE (templ)); if (pad) break; |