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 9635a541e2
commit efbc0b17af
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
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
2004-02-18 David Schleef <ds@schleef.org> 2004-02-18 David Schleef <ds@schleef.org>
* configure.ac: Move massink to gst-rotten * configure.ac: Move massink to gst-rotten

View file

@ -768,7 +768,7 @@ gst_lame_chain (GstPad *pad, GstData *_data)
break; break;
case GST_EVENT_TAG: case GST_EVENT_TAG:
if (lame->tags) { 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))); gst_tag_setter_get_merge_mode (GST_TAG_SETTER (lame)));
} else { } else {
g_assert_not_reached (); g_assert_not_reached ();