taskpool: improve join() documentation
authorMathieu Duponchelle <mathieu@centricular.com>
Tue, 3 Nov 2020 01:39:37 +0000 (02:39 +0100)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 5 Nov 2020 18:18:28 +0000 (18:18 +0000)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/692>

gst/gsttaskpool.c

index 658c0a3..ceda535 100644 (file)
@@ -263,10 +263,11 @@ not_supported:
 /**
  * gst_task_pool_join:
  * @pool: a #GstTaskPool
- * @id: (transfer full): the id
+ * @id: (transfer full) (nullable): the id
  *
  * Join a task and/or return it to the pool. @id is the id obtained from
- * gst_task_pool_push().
+ * gst_task_pool_push(). The default implementation does nothing, as the
+ * default push() implementation always returns %NULL.
  */
 void
 gst_task_pool_join (GstTaskPool * pool, gpointer id)