Original commit message from CVS:
fixes bug
http://bugzilla.gnome.org/show_bug.cgi?id=90333
and similar.
I'd like to also do s/guchar/gchar/ in the xml functions, any reason not to ?
please comment ;)
This commit is contained in:
Thomas Vander Stichele 2002-08-12 16:59:39 +00:00
parent 2532399423
commit 1f212d7a8f
6 changed files with 9 additions and 9 deletions

View file

@ -434,12 +434,12 @@ init_post (void)
#ifndef GST_DISABLE_TRACE #ifndef GST_DISABLE_TRACE
_gst_trace_on = 0; _gst_trace_on = 0;
if (_gst_trace_on) { if (_gst_trace_on) {
gst_trace = gst_trace_new ("gst.trace",1024); gst_trace = gst_trace_new ("gst.trace", 1024);
gst_trace_set_default (gst_trace); gst_trace_set_default (gst_trace);
} }
#endif /* GST_DISABLE_TRACE */ #endif /* GST_DISABLE_TRACE */
if (_gst_progname == NULL) { if (_gst_progname == NULL) {
_gst_progname = g_strdup("gstprog"); _gst_progname = g_strdup ("gstprog");
} }
} }

View file

@ -1252,7 +1252,7 @@ gst_element_get_pad_template_list (GstElement *element)
* Returns: the padtemplate with the given name. No unreferencing is necessary. * Returns: the padtemplate with the given name. No unreferencing is necessary.
*/ */
GstPadTemplate* GstPadTemplate*
gst_element_get_pad_template (GstElement *element, const guchar *name) gst_element_get_pad_template (GstElement *element, const gchar *name)
{ {
GList *padlist; GList *padlist;
@ -2333,8 +2333,8 @@ gst_element_restore_thyself (GstObject *object, xmlNodePtr self)
{ {
xmlNodePtr children; xmlNodePtr children;
GstElement *element; GstElement *element;
guchar *name = NULL; gchar *name = NULL;
guchar *value = NULL; gchar *value = NULL;
element = GST_ELEMENT (object); element = GST_ELEMENT (object);
g_return_if_fail (element != NULL); g_return_if_fail (element != NULL);

View file

@ -245,7 +245,7 @@ GstPad* gst_element_get_compatible_request_pad (GstElement *element, GstPadTem
GstPad* gst_element_get_compatible_static_pad (GstElement *element, GstPadTemplate *templ); GstPad* gst_element_get_compatible_static_pad (GstElement *element, GstPadTemplate *templ);
*/ */
GstPadTemplate* gst_element_get_pad_template (GstElement *element, const guchar *name); GstPadTemplate* gst_element_get_pad_template (GstElement *element, const gchar *name);
GList* gst_element_get_pad_template_list (GstElement *element); GList* gst_element_get_pad_template_list (GstElement *element);
GstPadTemplate* gst_element_get_compatible_pad_template (GstElement *element, GstPadTemplate *compattempl); GstPadTemplate* gst_element_get_compatible_pad_template (GstElement *element, GstPadTemplate *compattempl);

View file

@ -1880,7 +1880,7 @@ gst_pad_load_and_connect (xmlNodePtr self,
{ {
xmlNodePtr field = self->xmlChildrenNode; xmlNodePtr field = self->xmlChildrenNode;
GstPad *pad = NULL, *targetpad; GstPad *pad = NULL, *targetpad;
guchar *peer = NULL; gchar *peer = NULL;
gchar **split; gchar **split;
GstElement *target; GstElement *target;
GstObject *grandparent; GstObject *grandparent;

View file

@ -56,7 +56,7 @@ GstTrace *_gst_trace_default = NULL;
gint _gst_trace_on = 1; gint _gst_trace_on = 1;
GstTrace * GstTrace *
gst_trace_new (guchar * filename, gint size) gst_trace_new (gchar * filename, gint size)
{ {
GstTrace *trace = g_malloc (sizeof (GstTrace)); GstTrace *trace = g_malloc (sizeof (GstTrace));

View file

@ -51,7 +51,7 @@ struct _GstTraceEntry {
gchar message[112]; gchar message[112];
}; };
GstTrace* gst_trace_new (guchar *filename, gint size); GstTrace* gst_trace_new (gchar *filename, gint size);
void gst_trace_destroy (GstTrace *trace); void gst_trace_destroy (GstTrace *trace);
void gst_trace_flush (GstTrace *trace); void gst_trace_flush (GstTrace *trace);