From f4848be30eeeeeee875146a1442a7d3724ec169a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Sun, 27 May 2012 00:00:20 +0100 Subject: [PATCH] tests: don't use GstStructure API on tag lists --- tests/check/elements/jifmux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/check/elements/jifmux.c b/tests/check/elements/jifmux.c index 680e012..dbc004e 100644 --- a/tests/check/elements/jifmux.c +++ b/tests/check/elements/jifmux.c @@ -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); -- 2.7.4