[gst-cvs] gst-plugins-good: flacenc: Use the tag merge mode that was set on the interface for merging tag events
Sebastian Dröge
slomo at kemper.freedesktop.org
Wed Apr 29 02:13:16 PDT 2009
Module: gst-plugins-good
Branch: master
Commit: 5a7edcbd817eedc25865de21ff0521da3cf2f7f3
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=5a7edcbd817eedc25865de21ff0521da3cf2f7f3
Author: Sebastian Dröge <sebastian.droege at collabora.co.uk>
Date: Wed Apr 29 11:12:36 2009 +0200
flacenc: Use the tag merge mode that was set on the interface for merging tag events
---
ext/flac/gstflacenc.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ext/flac/gstflacenc.c b/ext/flac/gstflacenc.c
index 0a22c7f..96c58e8 100644
--- a/ext/flac/gstflacenc.c
+++ b/ext/flac/gstflacenc.c
@@ -1003,7 +1003,8 @@ gst_flac_enc_sink_event (GstPad * pad, GstEvent * event)
case GST_EVENT_TAG:
if (flacenc->tags) {
gst_event_parse_tag (event, &taglist);
- gst_tag_list_insert (flacenc->tags, taglist, GST_TAG_MERGE_REPLACE);
+ gst_tag_list_insert (flacenc->tags, taglist,
+ gst_tag_setter_get_tag_merge_mode (GST_TAG_SETTER (flacenc)));
} else {
g_assert_not_reached ();
}
More information about the Gstreamer-commits
mailing list