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/714>
This commit is contained in:
Marijn Suijten 2020-12-03 19:22:43 +01:00
parent f5ee123958
commit 87ffe289aa

View file

@ -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