tests/examples/metadata/read-metadata.c: Use _KEEP as merge mode rather than _KEEP_ALL, so tags arriving in a second ...

Original commit message from CVS:
* tests/examples/metadata/read-metadata.c: (message_loop):
Use _KEEP as merge mode rather than _KEEP_ALL, so tags
arriving in a second or third tag message are added to
the tag list as well.
This commit is contained in:
Tim-Philipp Müller 2007-10-31 18:08:21 +00:00
parent cb909e5a85
commit 26f2316b27
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
* tests/examples/metadata/read-metadata.c: (message_loop):
Use _KEEP as merge mode rather than _KEEP_ALL, so tags
arriving in a second or third tag message are added to
the tag list as well.
2007-10-31 Stefan Kost <ensonic@users.sf.net>
* libs/gst/base/gstbasesrc.c:

View file

@ -67,7 +67,7 @@ message_loop (GstElement * element, GstTagList ** tags)
gst_message_parse_tag (message, &new_tags);
if (*tags)
*tags = gst_tag_list_merge (*tags, new_tags, GST_TAG_MERGE_KEEP_ALL);
*tags = gst_tag_list_merge (*tags, new_tags, GST_TAG_MERGE_KEEP);
else
*tags = new_tags;
break;