projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
408df31
)
gststructure: Set lcopy string const exactly as glib's macro
author
Sebastian Rasmussen
<sebrn@axis.com>
Fri, 6 Jul 2012 18:37:06 +0000
(20:37 +0200)
committer
Tim-Philipp Müller
<tim@centricular.net>
Sat, 7 Jul 2012 12:32:41 +0000
(13:32 +0100)
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=679534
gst/gststructure.c
patch
|
blob
|
history
diff --git
a/gst/gststructure.c
b/gst/gststructure.c
index
ea92016
..
7ca6f5b
100644
(file)
--- a/
gst/gststructure.c
+++ b/
gst/gststructure.c
@@
-2735,7
+2735,7
@@
G_STMT_START { \
guint _flags = (flags); \
GType _value_type = G_VALUE_TYPE (_value); \
GTypeValueTable *_vtable = g_type_value_table_peek (_value_type); \
-
gchar *_lcopy_format = _vtable->lcopy_format;
\
+
const gchar *_lcopy_format = _vtable->lcopy_format;
\
GTypeCValue _cvalues[G_VALUE_COLLECT_FORMAT_MAX_LENGTH] = { { 0, }, }; \
guint _n_values = 0; \
\