[0.11] gstreamer: controlbindings: name is not a const

Edward Hervey bilboed at kemper.freedesktop.org
Wed Jan 25 02:52:39 PST 2012


Module: gstreamer
Branch: 0.11
Commit: ea7c1225c1e4f890dcc71a25143036467e3f02b8
URL:    http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=ea7c1225c1e4f890dcc71a25143036467e3f02b8

Author: Edward Hervey <edward.hervey at collabora.co.uk>
Date:   Wed Jan 25 11:49:50 2012 +0100

controlbindings: name is not a const

It gets modified during the life of the object. Fixes build.

---

 gst/gstcontrolbinding.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gst/gstcontrolbinding.h b/gst/gstcontrolbinding.h
index 78b3661..96652fa 100644
--- a/gst/gstcontrolbinding.h
+++ b/gst/gstcontrolbinding.h
@@ -67,7 +67,7 @@ struct _GstControlBinding {
   GstObject parent;
   
   /*< public >*/
-  const gchar *name;            /* name of the property */
+  gchar *name;                  /* name of the property */
   GParamSpec *pspec;            /* GParamSpec for this property */
 
   /*< private >*/



More information about the gstreamer-commits mailing list