mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
tests: don't use GstStructure API on tag lists
This commit is contained in:
parent
8b2f229553
commit
f4848be30e
1 changed files with 1 additions and 1 deletions
|
@ -992,7 +992,7 @@ libexif_check_tags_from_taglist (GstTagList * taglist, const gchar * filepath)
|
||||||
|
|
||||||
/* iterate over our tag mapping */
|
/* iterate over our tag mapping */
|
||||||
for (i = 0; i < G_N_ELEMENTS (tag_map); i++) {
|
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
|
/* we have added this field to the taglist, check if it was writen in
|
||||||
* exif */
|
* exif */
|
||||||
libexif_check_tag_exists (taglist, i, exif_data);
|
libexif_check_tag_exists (taglist, i, exif_data);
|
||||||
|
|
Loading…
Reference in a new issue