gstreamer/tests/check/elements
François Laignel 1a8dfdfc54 Introduce gst_element_request_pad_simple
The name `gst_element_get_request_pad()` is confusing to people
learning GStreamer. `gst_element_request_pad_simple()` aims at
providing the exact same functionality, while making it more
explicit it is a simplified `gst_element_request_pad()`.

`gst_element_request_pad_simple()` is consistent with other
functions such as `gst_element_seek_simple`.

This commit deprecates `gst_element_get_request_pad()` so that a
compilation warning is emitted when used and incite developers
to use the more explicit `gst_element_request_pad_simple()`.

See also https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/743#note_886586

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/802>
2021-05-04 15:49:32 +02:00
..
capsfilter.c tests: include config.h and don't include unix headers 2017-11-24 13:41:20 +01:00
clocksync.c clocksync: Add a new property "sync-to-first" for automatic ts-offset setup 2021-03-18 14:22:44 +00:00
concat.c Introduce gst_element_request_pad_simple 2021-05-04 15:49:32 +02:00
dataurisrc.c dataurisrc: Do not include trailing \0 into buffer 2019-10-07 17:47:47 +00:00
fakesink.c tests: fakesink: make notify stress test work better on Windows 2018-01-11 19:57:13 +00:00
fakesrc.c tests: include config.h and don't include unix headers 2017-11-24 13:41:20 +01:00
fdsrc.c tests: include config.h and don't include unix headers 2017-11-24 13:41:20 +01:00
filesink.c filesink: Use SYNC_AFTER flag in seeking test 2018-08-17 17:26:17 +03:00
filesrc.c tests: filesrc: more Windows fixes 2018-01-11 19:32:08 +00:00
funnel.c Introduce gst_element_request_pad_simple 2021-05-04 15:49:32 +02:00
identity.c tests: include config.h and don't include unix headers 2017-11-24 13:41:20 +01:00
leaks.c tests: leaks: Allow null tracer string if there's no available stack trace 2020-09-15 06:35:34 +09:00
multiqueue.c Introduce gst_element_request_pad_simple 2021-05-04 15:49:32 +02:00
queue.c documentation: fix a number of typos 2019-10-06 11:12:11 -04:00
queue2.c queue2: don't post unnecessary buffering message, refine locking 2020-05-27 13:07:03 +00:00
selector.c Introduce gst_element_request_pad_simple 2021-05-04 15:49:32 +02:00
streamiddemux.c Fix typos in comments and docs 2018-05-01 11:18:03 +01:00
tee.c Introduce gst_element_request_pad_simple 2021-05-04 15:49:32 +02:00
valve.c tests: include config.h and don't include unix headers 2017-11-24 13:41:20 +01:00