+2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
+
+ Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
+
+ * gst/gstcaps.c: (gst_caps_set_simple),
+ (gst_caps_set_simple_valist), (gst_caps_intersect):
+ * gst/gstcaps.h:
+ Constify the field gchar * params in set_simple and friends.
+ Fixes #522326.
+
2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/gstvalue.c: (gst_value_transform_object_string):
* manner as gst_structure_set(), and be NULL-terminated.
*/
void
-gst_caps_set_simple (GstCaps * caps, char *field, ...)
+gst_caps_set_simple (GstCaps * caps, const char *field, ...)
{
GstStructure *structure;
va_list var_args;
* manner as gst_structure_set(), and be NULL-terminated.
*/
void
-gst_caps_set_simple_valist (GstCaps * caps, char *field, va_list varargs)
+gst_caps_set_simple_valist (GstCaps * caps, const char *field, va_list varargs)
{
GstStructure *structure;
GstCaps * gst_caps_copy_nth (const GstCaps *caps, guint nth);
void gst_caps_truncate (GstCaps *caps);
void gst_caps_set_simple (GstCaps *caps,
- char *field, ...) G_GNUC_NULL_TERMINATED;
+ const char *field, ...) G_GNUC_NULL_TERMINATED;
void gst_caps_set_simple_valist (GstCaps *caps,
- char *field,
+ const char *field,
va_list varargs);
/* tests */