ext/: use gst_tag_list_insert when you want to insert tags

Original commit message from CVS:
2004-02-19  Benjamin Otte  <otte@gnome.org>

* ext/lame/gstlame.c: (gst_lame_chain):
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_chain):
use gst_tag_list_insert when you want to insert tags
This commit is contained in:
Benjamin Otte 2004-02-19 22:19:55 +00:00
parent 5213815f0b
commit 0c6fac4b5c

View file

@ -768,7 +768,7 @@ gst_lame_chain (GstPad *pad, GstData *_data)
break;
case GST_EVENT_TAG:
if (lame->tags) {
gst_tag_list_merge (lame->tags, gst_event_tag_get_list (GST_EVENT (buf)),
gst_tag_list_insert (lame->tags, gst_event_tag_get_list (GST_EVENT (buf)),
gst_tag_setter_get_merge_mode (GST_TAG_SETTER (lame)));
} else {
g_assert_not_reached ();