Update for gst_tag_setter API changes.
authorAndy Wingo <wingo@pobox.com>
Tue, 22 Nov 2005 12:38:33 +0000 (12:38 +0000)
committerAndy Wingo <wingo@pobox.com>
Tue, 22 Nov 2005 12:38:33 +0000 (12:38 +0000)
Original commit message from CVS:
2005-11-22  Andy Wingo  <wingo@pobox.com>

* Update for gst_tag_setter API changes.

ChangeLog
ext/flac/gstflacenc.c
ext/flac/gstflactag.c
ext/shout2/gstshout2.c
ext/speex/gstspeexenc.c
gst/avi/gstavimux.c

index f6304e0..4bedc7c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2005-11-22  Andy Wingo  <wingo@pobox.com>
 
+       * Update for gst_tag_setter API changes.
+
+2005-11-22  Andy Wingo  <wingo@pobox.com>
+
        * ext/dv/gstdvdemux.c (gst_dvdemux_handle_sink_event)
        (gst_dvdemux_demux_frame)
        * ext/flac/gstflacdec.c (gst_flacdec_write)
index e5a7baa..f7edaab 100644 (file)
@@ -349,12 +349,12 @@ gst_flacenc_set_metadata (GstFlacEnc * flacenc)
   GstTagList *copy;
 
   g_return_if_fail (flacenc != NULL);
-  user_tags = gst_tag_setter_get_list (GST_TAG_SETTER (flacenc));
+  user_tags = gst_tag_setter_get_tag_list (GST_TAG_SETTER (flacenc));
   if ((flacenc->tags == NULL) && (user_tags == NULL)) {
     return;
   }
   copy = gst_tag_list_merge (user_tags, flacenc->tags,
-      gst_tag_setter_get_merge_mode (GST_TAG_SETTER (flacenc)));
+      gst_tag_setter_get_tag_merge_mode (GST_TAG_SETTER (flacenc)));
   flacenc->meta = g_malloc (sizeof (FLAC__StreamMetadata **));
 
   flacenc->meta[0] =
index 05a3f03..ffb435d 100644 (file)
@@ -475,9 +475,9 @@ gst_flac_tag_chain (GstPad * pad, GstData * data)
 
     g_assert (tag->only_output_tags == FALSE);
 
-    user_tags = gst_tag_setter_get_list (GST_TAG_SETTER (tag));
+    user_tags = gst_tag_setter_get_tag_list (GST_TAG_SETTER (tag));
     merged_tags = gst_tag_list_merge (tag->tags, user_tags,
-        gst_tag_setter_get_merge_mode (GST_TAG_SETTER (tag)));
+        gst_tag_setter_get_tag_merge_mode (GST_TAG_SETTER (tag)));
 
     if (merged_tags == NULL) {
       /* If we get a NULL list of tags, we must generate a padding block
index 0779021..d488b9a 100644 (file)
@@ -291,13 +291,13 @@ gst_shout2send_set_metadata (GstShout2send * shout2send)
   shout_metadata_t *pmetadata;
 
   g_return_if_fail (shout2send != NULL);
-  user_tags = gst_tag_setter_get_list (GST_TAG_SETTER (shout2send));
+  user_tags = gst_tag_setter_get_tag_list (GST_TAG_SETTER (shout2send));
 
   if ((shout2send->tags == NULL) && (user_tags == NULL)) {
     return;
   }
   copy = gst_tag_list_merge (user_tags, shout2send->tags,
-      gst_tag_setter_get_merge_mode (GST_TAG_SETTER (shout2send)));
+      gst_tag_setter_get_tag_merge_mode (GST_TAG_SETTER (shout2send)));
 
   /* lets get the artist and song tags */
   tempmetadata = NULL;
@@ -334,7 +334,8 @@ gst_shout2send_event (GstBaseSink * sink, GstEvent * event)
         gst_event_parse_tag (event, &list);
 
         gst_tag_list_insert (shout2send->tags,
-            list, gst_tag_setter_get_merge_mode (GST_TAG_SETTER (shout2send)));
+            list,
+            gst_tag_setter_get_tag_merge_mode (GST_TAG_SETTER (shout2send)));
         /* lets get the artist and song tags */
         tempmetadata = NULL;
         gst_tag_list_foreach ((GstTagList *) shout2send->tags,
index b9e12b6..9b60223 100644 (file)
@@ -652,7 +652,7 @@ gst_speexenc_set_metadata (GstSpeexEnc * speexenc)
   GstTagList *copy;
   const GstTagList *user_tags;
 
-  user_tags = gst_tag_setter_get_list (GST_TAG_SETTER (speexenc));
+  user_tags = gst_tag_setter_get_tag_list (GST_TAG_SETTER (speexenc));
   if (!(speexenc->tags || user_tags))
     return;
 
@@ -660,7 +660,7 @@ gst_speexenc_set_metadata (GstSpeexEnc * speexenc)
       "Encoded with GStreamer Speexenc");
   copy =
       gst_tag_list_merge (user_tags, speexenc->tags,
-      gst_tag_setter_get_merge_mode (GST_TAG_SETTER (speexenc)));
+      gst_tag_setter_get_tag_merge_mode (GST_TAG_SETTER (speexenc)));
   gst_tag_list_foreach (copy, gst_speexenc_metadata_set1, speexenc);
   gst_tag_list_free (copy);
 }
@@ -874,7 +874,7 @@ gst_speexenc_sinkevent (GstPad * pad, GstEvent * event)
       gst_event_parse_tag (event, &list);
       if (speexenc->tags) {
         gst_tag_list_insert (speexenc->tags, list,
-            gst_tag_setter_get_merge_mode (GST_TAG_SETTER (speexenc)));
+            gst_tag_setter_get_tag_merge_mode (GST_TAG_SETTER (speexenc)));
       } else {
         g_assert_not_reached ();
       }
index b621d21..084d0e2 100644 (file)
@@ -639,7 +639,7 @@ gst_avimux_riff_get_avi_header (GstAviMux * avimux)
   size += 12;                   /* avi data header */
 
   /* tags */
-  iface_tags = gst_tag_setter_get_list (GST_TAG_SETTER (avimux));
+  iface_tags = gst_tag_setter_get_tag_list (GST_TAG_SETTER (avimux));
   if (iface_tags || avimux->tags) {
     size += 1024;
     if (iface_tags && avimux->tags) {