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>
This commit is contained in:
Marijn Suijten 2020-12-03 19:22:43 +01:00 committed by Tim-Philipp Müller
parent 877f2b6800
commit 865cfb8ea2

View file

@ -923,7 +923,7 @@ gst_test_clock_wait_for_pending_id_count (GstTestClock * test_clock,
* *
* MT safe. * MT safe.
* *
* Returns: (transfer full): a #GstClockID containing the next pending clock * Returns: (transfer full) (nullable): a #GstClockID containing the next pending clock
* notification. * notification.
* *
* Since: 1.2 * Since: 1.2