gstreamer/libs/gst/check
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
..
libcheck check: Always mark _ck_assert_failed as noreturn 2020-07-22 13:45:54 +00:00
check-prelude.h libs: figure out right export define in configure 2018-09-24 08:39:37 +01:00
check.h check: GST_EXPORT -> GST_CHECK_API 2018-03-13 00:57:36 +00:00
gstbufferstraw.c libs: figure out right export define in configure 2018-09-24 08:39:37 +01:00
gstbufferstraw.h check: GST_EXPORT -> GST_CHECK_API 2018-03-13 00:57:36 +00:00
gstcheck.c Introduce gst_element_request_pad_simple 2021-05-04 15:49:32 +02:00
gstcheck.h check: suppress g-ir-scanner warnings 2020-07-26 15:34:54 +01:00
gstconsistencychecker.c gst: don't use volatile to mean atomic 2021-03-19 04:15:19 +00:00
gstconsistencychecker.h check: GST_EXPORT -> GST_CHECK_API 2018-03-13 00:57:36 +00:00
gstharness.c Introduce gst_element_request_pad_simple 2021-05-04 15:49:32 +02:00
gstharness.h gst: Add missing G_GNUC_NULL_TERMINATED markers 2021-04-01 20:53:26 -04:00
gsttestclock.c check: gst_test_clock_process_next_clock_id returns nullable 2020-12-03 19:25:30 +01:00
gsttestclock.h testclock: added single clock id process function 2019-12-04 16:02:59 +00:00
meson.build pkgconfig: Fix missing libcheck dependencies in gstreamer-check-1.0 2020-10-16 18:14:38 +00:00