docs/manual/advanced-autoplugging.xml: Oops, a g_strdup() is not const.

Original commit message from CVS:
* docs/manual/advanced-autoplugging.xml:
Oops, a g_strdup() is not const.
This commit is contained in:
Ronald S. Bultje 2005-06-23 13:37:23 +00:00
parent 8b56fbac5f
commit b31b63ba3a
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2005-06-23 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* docs/manual/advanced-autoplugging.xml:
Oops, a g_strdup() is not const.
2005-06-23 Akos Maroy <darkeye@tyrell.hu>
Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>

View file

@ -418,7 +418,7 @@ try_to_plug (GstPad *pad,
res = gst_caps_intersect (caps, templ->caps);
if (res &amp;&amp; !gst_caps_is_empty (res)) {
GstElement *element;
const gchar *name_template = g_strdup (templ->name_template);
gchar *name_template = g_strdup (templ->name_template);
/* close link and return */
gst_caps_free (res);