[gst-cvs] tpm gstreamer: gstreamer/ gstreamer/gst/

tpm at kemper.freedesktop.org tpm at kemper.freedesktop.org
Wed Sep 19 06:28:55 PDT 2007


CVS Root:       /cvs/gstreamer
Module:         gstreamer
Changes by:     tpm
Date:           Wed Sep 19 2007  13:28:55 UTC

Log message:
	* gst/glib-compat-private.h:
	  Add compatibility macro for g_intern_string() for
	  GLib-2.8 (any reason we can't just bump the
	  requirement to at least 2.10?)
	* gst/gstpadtemplate.h:
	* gst/gstelementfactory.c:
	* gst/gstregistryxml.c:
	* gst/gstregistrybinary.c:
	  Make GstStaticPadTemplate's templ_name field a const gchar * and fix
	  up the internal code accordingly.  This shouldn't be a problem, since
	  there is no reason external code could ever assume the string in such
	  a structure is dynamically allocated unless it did that itself;  the
	  use of g_strdup() is private to element factories.  The new code also
	  saves some memory by putting pad template name strings into the GLib
	  quark table instead of allocating them dynamically.
	  Declaring this field constant fixes warnings with g++-4.2 when using
	  the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).

Modified files:
    .               : ChangeLog
    gst             : glib-compat-private.h gstelementfactory.c
                      gstpadtemplate.h gstregistrybinary.c
                      gstregistryxml.c

Links:
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/ChangeLog.diff?r1=1.3420&r2=1.3421
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/glib-compat-private.h.diff?r1=1.2&r2=1.3
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstelementfactory.c.diff?r1=1.134&r2=1.135
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstpadtemplate.h.diff?r1=1.9&r2=1.10
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstregistrybinary.c.diff?r1=1.13&r2=1.14
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstregistryxml.c.diff?r1=1.34&r2=1.35




More information about the Gstreamer-commits mailing list