gst_plugin_feature_get_rank
gst_plugin_feature_get_name
gst_plugin_feature_load
+gst_plugin_feature_list_copy
gst_plugin_feature_list_free
gst_plugin_feature_check_version
<SUBSECTION Standard>
}
/**
+ * gst_plugin_feature_list_copy:
+ * @list: list of #GstPluginFeature
+ *
+ * Copies the list of features. Caller should call @gst_plugin_feature_list_free
+ * when done with the list.
+ *
+ * Returns: a copy of @list, with each feature's reference count incremented.
+ */
+GList *
+gst_plugin_feature_list_copy (GList * list)
+{
+ GList *new_list = NULL;
+
+ if (G_LIKELY (list)) {
+ GList *last;
+
+ new_list = g_list_alloc ();
+ new_list->data = g_object_ref ((GObject *) list->data);
+ new_list->prev = NULL;
+ last = new_list;
+ list = list->next;
+ while (list) {
+ last->next = g_list_alloc ();
+ last->next->prev = last;
+ last = last->next;
+ last->data = g_object_ref ((GObject *) list->data);
+ list = list->next;
+ }
+ last->next = NULL;
+ }
+
+ return new_list;
+}
+
+/**
* gst_plugin_feature_check_version:
* @feature: a feature
* @min_major: minimum required major version
G_CONST_RETURN gchar *gst_plugin_feature_get_name (GstPluginFeature *feature);
void gst_plugin_feature_list_free (GList *list);
+GList *gst_plugin_feature_list_copy (GList *list);
gboolean gst_plugin_feature_check_version (GstPluginFeature *feature,
guint min_major,
gst_plugin_feature_get_name
gst_plugin_feature_get_rank
gst_plugin_feature_get_type
+ gst_plugin_feature_list_copy
gst_plugin_feature_list_free
gst_plugin_feature_load
gst_plugin_feature_set_name