mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 16:26:39 +00:00
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:
parent
cb909e5a85
commit
26f2316b27
2 changed files with 8 additions and 1 deletions
|
@ -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:
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue