mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
taglists: apply fix for replace all also to gst_tag_list_add_valist_values. Fixes #574241
This commit is contained in:
parent
5467c64379
commit
c3286501b4
1 changed files with 4 additions and 0 deletions
|
@ -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 (GST_TAG_MODE_IS_VALID (mode));
|
||||||
g_return_if_fail (tag != NULL);
|
g_return_if_fail (tag != NULL);
|
||||||
|
|
||||||
|
if (mode == GST_TAG_MERGE_REPLACE_ALL) {
|
||||||
|
gst_structure_remove_all_fields (list);
|
||||||
|
}
|
||||||
|
|
||||||
while (tag != NULL) {
|
while (tag != NULL) {
|
||||||
quark = g_quark_from_string (tag);
|
quark = g_quark_from_string (tag);
|
||||||
info = gst_tag_lookup (quark);
|
info = gst_tag_lookup (quark);
|
||||||
|
|
Loading…
Reference in a new issue