diff options
author | Marijn Suijten <marijns95@gmail.com> | 2020-12-03 19:22:43 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2020-12-04 16:13:26 +0000 |
commit | 865cfb8ea2b276af4d4c1d316e81e11db18a41f2 (patch) | |
tree | 7b8098e078084befc9771d8e87c79f4a58a62591 | |
parent | 877f2b68006e787dff2335282220764e400b4ec7 (diff) |
check: gst_test_clock_process_next_clock_id returns nullable
It is possible there are no more pending clocks in the chain, in which
case this function returns null.
See also tests like test_single_shot_async_future that validate NULL
returns.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/716>
-rw-r--r-- | libs/gst/check/gsttestclock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/gst/check/gsttestclock.c b/libs/gst/check/gsttestclock.c index 28a390d87b..83aadc426f 100644 --- a/libs/gst/check/gsttestclock.c +++ b/libs/gst/check/gsttestclock.c @@ -923,7 +923,7 @@ gst_test_clock_wait_for_pending_id_count (GstTestClock * test_clock, * * MT safe. * - * Returns: (transfer full): a #GstClockID containing the next pending clock + * Returns: (transfer full) (nullable): a #GstClockID containing the next pending clock * notification. * * Since: 1.2 |