EXPORT_C #endif GstTagList * gst_tag_list_new (void) { return GST_TAG_LIST (gst_structure_new (TAGLIST, NULL)); }
EXPORT_C #endif GstTagList * gst_tag_list_copy (const GstTagList * list) { g_return_val_if_fail (GST_IS_TAG_LIST (list), NULL); return GST_TAG_LIST (gst_structure_copy ((GstStructure *) list)); }
static void validate_taglist_foreach (const GstTagList * list, const gchar * tag, gpointer user_data) { GstTagList *other = GST_TAG_LIST (user_data); const GValue *val1 = gst_tag_list_get_value_index (list, tag, 0); const GValue *val2 = gst_tag_list_get_value_index (other, tag, 0); fail_if (val1 == NULL); fail_if (val2 == NULL); fail_unless (gst_value_can_intersect (val1, val2)); }