typefindhelper: Fix docs/annotations for the new functions
authorSebastian Dröge <sebastian@centricular.com>
Tue, 15 Nov 2022 17:14:14 +0000 (19:14 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 16 Nov 2022 04:07:09 +0000 (04:07 +0000)
Follow-up for https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3296

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3418>

subprojects/gstreamer/libs/gst/base/gsttypefindhelper.c

index 4a46640..f385e80 100644 (file)
@@ -997,7 +997,7 @@ done:
  *
  * Free-function: g_list_free
  *
- * Returns: (transfer full) (nullable): the list of #GstTypeFindFactory
+ * Returns: (transfer full) (nullable) (element-type Gst.TypeFindFactory): the list of #GstTypeFindFactory
  *          corresponding to @caps, or %NULL if no typefinder could be
  *          found. Caller should free the returned list with g_list_free()
  *          and list elements with gst_object_unref().
@@ -1081,7 +1081,7 @@ gst_type_find_data_new (GstObject * obj, const guint8 * data, gsize size)
 }
 
 /**
- * gst_type_find_data_get_probability: (skip)
+ * gst_type_find_data_get_caps: (skip)
  * @data: GstTypeFindData *
  *
  * Returns #GstCaps associated with #GstTypeFindData
@@ -1105,7 +1105,7 @@ gst_type_find_data_get_caps (GstTypeFindData * data)
  *
  * Returns #GstTypeFindProbability associated with #GstTypeFindData
  *
- * Returns: (transfer full): #GstTypeFindProbability.
+ * Returns: #GstTypeFindProbability.
  *
  * Since: 1.22
  *
@@ -1124,7 +1124,7 @@ gst_type_find_data_get_probability (GstTypeFindData * data)
  *
  * Returns #GstTypeFind associated with #GstTypeFindData
  *
- * Returns: (transfer full) (nullable): #GstTypeFind.
+ * Returns: #GstTypeFind.
  *
  * Since: 1.22
  *
@@ -1138,7 +1138,7 @@ gst_type_find_data_get_typefind (GstTypeFindData * data)
 }
 
 /**
- * gst_type_find_data_get_probability: (skip)
+ * gst_type_find_data_free: (skip)
  * @data: GstTypeFindData * to free
  *
  * Since: 1.22