g_slice_free (PendingXmpTag, ptag);
}
- GST_INFO ("xmp packet parsed, %d entries",
- gst_structure_n_fields ((GstStructure *) list));
+ GST_INFO ("xmp packet parsed, %d entries", gst_tag_list_n_tags (list));
/* free resources */
i = 0;
work->hdr.frame_data_size -= frame_size;
}
- if (gst_structure_n_fields (GST_STRUCTURE (work->tags)) == 0) {
+ if (gst_tag_list_n_tags (work->tags) == 0) {
GST_DEBUG ("Could not extract any frames from tag. Broken or empty tag");
gst_tag_list_free (work->tags);
work->tags = NULL;