check: gst_test_clock_process_next_clock_id returns nullable
authorMarijn Suijten <marijns95@gmail.com>
Thu, 3 Dec 2020 18:22:43 +0000 (19:22 +0100)
committerMarijn Suijten <marijns95@gmail.com>
Thu, 3 Dec 2020 18:25:30 +0000 (19:25 +0100)
commit87ffe289aa45c3782ba3a0a61cebaacfd99caa15
tree31293df9d4f5c4b4e7ff5f3507918a7e496ad74e
parentf5ee12395832d4305bb8dbdf4751552d03430d6d
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>
libs/gst/check/gsttestclock.c