configure.ac: export [_]*{gst,Gst,GST}.* symbols from plugins
authorBenjamin Otte <otte@gnome.org>
Sun, 22 Feb 2004 15:14:24 +0000 (15:14 +0000)
committerBenjamin Otte <otte@gnome.org>
Sun, 22 Feb 2004 15:14:24 +0000 (15:14 +0000)
Original commit message from CVS:
2004-02-22  Benjamin Otte  <otte@gnome.org>

* configure.ac:
export [_]*{gst,Gst,GST}.* symbols from plugins

2004-02-22  Christophe Fergeau <teuf@gnome.org>

reviewed by: Benjamin Otte  <otte@gnome.org>

* ext/lame/gstlame.c: (add_one_tag):
* ext/mad/gstid3tag.c: (gst_mad_id3_to_tag_list):
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_get_tag_value),
(gst_vorbisenc_metadata_set1):
* gst/tags/gstid3tag.c:
* gst/tags/gstvorbistag.c: (gst_vorbis_tag_add):
apply fixes from bugs #135042 (lame can't write tags) and #133817
(add GST_ALBUM_VOLUME_{COUNT,NUMBER} tags)

ext/lame/gstlame.c

index c02057a..0b32b4b 100644 (file)
@@ -482,7 +482,7 @@ add_one_tag (const GstTagList *list, const gchar *tag,
   switch (gst_tag_get_type (tag)) {
   case G_TYPE_UINT: {
     guint ivalue;
-    if (gst_tag_list_get_uint (list, tag, &ivalue)) {
+    if (!gst_tag_list_get_uint (list, tag, &ivalue)) {      
       GST_DEBUG ("Error reading \"%s\" tag value\n", tag);
       return;
     }
@@ -490,7 +490,7 @@ add_one_tag (const GstTagList *list, const gchar *tag,
     break;
   }
   case G_TYPE_STRING: 
-    if (gst_tag_list_get_string (list, tag, &value)) {
+    if (!gst_tag_list_get_string (list, tag, &value)) {
       GST_DEBUG ("Error reading \"%s\" tag value\n", tag);
       return;
     };