? diffs
? tests/benchmarks/gstpollstress
Index: gst/gstcaps.c
===================================================================
RCS file: /cvs/gstreamer/gstreamer/gst/gstcaps.c,v
retrieving revision 1.183
diff -u -p -r1.183 gstcaps.c
--- gst/gstcaps.c	9 Jan 2008 16:36:34 -0000	1.183
+++ gst/gstcaps.c	13 Mar 2008 22:07:19 -0000
@@ -863,7 +863,7 @@ gst_caps_truncate (GstCaps * caps)
  * 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;
@@ -890,7 +890,7 @@ gst_caps_set_simple (GstCaps * caps, cha
  * 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;
 
Index: gst/gstcaps.h
===================================================================
RCS file: /cvs/gstreamer/gstreamer/gst/gstcaps.h,v
retrieving revision 1.105
diff -u -p -r1.105 gstcaps.h
--- gst/gstcaps.h	20 Sep 2006 16:17:26 -0000	1.105
+++ gst/gstcaps.h	13 Mar 2008 22:07:19 -0000
@@ -208,9 +208,9 @@ GstStructure *    gst_caps_get_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 */
