if (stream->pad)
gst_element_remove_pad (GST_ELEMENT (demux), stream->pad);
if (stream->tags)
- gst_tag_list_free (stream->tags);
+ gst_tag_list_unref (stream->tags);
g_free (stream);
}
demux->streams[n] = NULL;
}
if (!hastag) {
- gst_tag_list_free (tlist);
+ gst_tag_list_unref (tlist);
tlist = NULL;
}
return tlist;
tags = read_tags_from_file (filename, FALSE);
fail_unless (tags != NULL, "Failed to extract tags from '%s'", filename);
check_func (tags, filename);
- gst_tag_list_free (tags);
+ gst_tag_list_unref (tags);
}
#define tag_list_has_tag(taglist,tag) \