GNOME Bugzilla – Bug 522326
use of 'char*' instead of 'const char*' in gst_caps_set_simple() and gst_caps_set_simple_valist()
Last modified: 2008-04-03 15:17:00 UTC
I get the sense that the field parameter in gst_caps_set_simple() and gst_caps_set_simple_valist() should be 'const char*' so I'm submitting this patch. Okay?
Created attachment 107249 [details] [review] Patch to correct field parameter 'char*' to 'const char*' in gst_caps_set_simple{,_valist}
I think this makes sense. Waiting to commit until after the freeze.
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.