tests: don't use GstStructure API on tag lists
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 26 May 2012 23:00:20 +0000 (00:00 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 26 May 2012 23:00:20 +0000 (00:00 +0100)
tests/check/elements/jifmux.c

index 680e012..dbc004e 100644 (file)
@@ -992,7 +992,7 @@ libexif_check_tags_from_taglist (GstTagList * taglist, const gchar * filepath)
 
   /* iterate over our tag mapping */
   for (i = 0; i < G_N_ELEMENTS (tag_map); i++) {
-    if (gst_structure_has_field ((GstStructure *) taglist, tag_map[i].gst_tag)) {
+    if (gst_tag_list_get_value_index (taglist, tag_map[i].gst_tag, 0)) {
       /* we have added this field to the taglist, check if it was writen in
        * exif */
       libexif_check_tag_exists (taglist, i, exif_data);