From 87ffe289aa45c3782ba3a0a61cebaacfd99caa15 Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Thu, 3 Dec 2020 19:22:43 +0100 Subject: [PATCH] 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: --- libs/gst/check/gsttestclock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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