/**
* SECTION:gstcapsfeatures
- * @short_description: A set of features in caps
+ * @title: GstCapsFeatures
+ * @short_description: A set of features in caps
* @see_also: #GstCaps
*
* #GstCapsFeatures can optionally be set on a #GstCaps to add requirements
&static_caps_features_parent_refcount);
}
+void
+_priv_gst_caps_features_cleanup (void)
+{
+ gst_caps_features_set_parent_refcount (_gst_caps_features_any, NULL);
+ gst_caps_features_free (_gst_caps_features_any);
+ _gst_caps_features_any = NULL;
+ gst_caps_features_set_parent_refcount
+ (_gst_caps_features_memory_system_memory, NULL);
+ gst_caps_features_free (_gst_caps_features_memory_system_memory);
+ _gst_caps_features_memory_system_memory = NULL;
+}
+
gboolean
gst_is_caps_features (gconstpointer obj)
{
*
* Returns the @i-th feature of @features.
*
- * Returns: The @i-th feature of @features.
+ * Returns: (nullable): The @i-th feature of @features.
*
* Since: 1.2
*/
}
/* If features is empty it will contain sysmem, however
- * we want to add it explicitely if it is tried to be
+ * we want to add it explicitly if it is attempted to be
* added as first features
*/
if (features->array->len > 0