Commit c3286501 authored by Stefan Kost's avatar Stefan Kost
Browse files

taglists: apply fix for replace all also to gst_tag_list_add_valist_values. Fixes #574241

parent 5467c643
......@@ -877,6 +877,10 @@ gst_tag_list_add_valist_values (GstTagList * list, GstTagMergeMode mode,
g_return_if_fail (GST_TAG_MODE_IS_VALID (mode));
g_return_if_fail (tag != NULL);
if (mode == GST_TAG_MERGE_REPLACE_ALL) {
gst_structure_remove_all_fields (list);
}
while (tag != NULL) {
quark = g_quark_from_string (tag);
info = gst_tag_lookup (quark);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment