From 5a7edcbd817eedc25865de21ff0521da3cf2f7f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 29 Apr 2009 11:12:36 +0200 Subject: [PATCH] flacenc: Use the tag merge mode that was set on the interface for merging tag events --- ext/flac/gstflacenc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/flac/gstflacenc.c b/ext/flac/gstflacenc.c index 0a22c7f002..96c58e839b 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 (); }