[Bug 646744] [PATCH] Minor issues building gst-plugins-base with MS compiler

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Apr 4 13:36:11 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=646744
  GStreamer | gst-plugins-base | unspecified

--- Comment #4 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2011-04-04 20:36:08 UTC ---
Does this in addition to your patches make it work as well:

diff --git a/gst-libs/gst/tag/xmpwriter.c b/gst-libs/gst/tag/xmpwriter.c
index b3a56b7..4f14a78 100644
--- a/gst-libs/gst/tag/xmpwriter.c
+++ b/gst-libs/gst/tag/xmpwriter.c
@@ -311,7 +311,8 @@ gst_tag_xmp_writer_tag_list_to_xmp_buffer (GstTagXmpWriter
* config,
       for (iter = data->schemas; iter; iter = g_slist_next (iter)) {
         array[i++] = (gchar *) iter->data;
       }
-      buf = gst_tag_list_to_xmp_buffer_full (taglist, read_only, array);
+      buf = gst_tag_list_to_xmp_buffer_full (taglist, read_only,
+          (const gchar **) array);
       g_free (array);
     }
   }

gcc complains about it otherwise (guess the const-ness of string arrays is a
bit muddled in the g-world..)

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the gstreamer-bugs mailing list