summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2012-05-27 00:00:20 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2012-05-27 00:00:20 +0100
commitf4848be30eeeeeee875146a1442a7d3724ec169a (patch)
tree595b10301a0b6db2d5349a85007229c449ebe782 /tests
parent8b2f22955395db7a5a4af7d715a1f213ef46949f (diff)
downloadgstreamer-plugins-bad-f4848be30eeeeeee875146a1442a7d3724ec169a.tar.gz
tests: don't use GstStructure API on tag lists
Diffstat (limited to 'tests')
-rw-r--r--tests/check/elements/jifmux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check/elements/jifmux.c b/tests/check/elements/jifmux.c
index 680e0122a..dbc004ec5 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);