diff --git a/gst/gstpipeline.c b/gst/gstpipeline.c index 18c73fcffa..b215697248 100644 --- a/gst/gstpipeline.c +++ b/gst/gstpipeline.c @@ -114,7 +114,7 @@ gst_pipeline_init (GstPipeline *pipeline) * Returns: newly created GstPipeline */ GstElement* -gst_pipeline_new (const guchar *name) +gst_pipeline_new (const gchar *name) { return gst_elementfactory_make ("pipeline", name); } diff --git a/gst/gstpipeline.h b/gst/gstpipeline.h index 46209b7661..435a1f2d76 100644 --- a/gst/gstpipeline.h +++ b/gst/gstpipeline.h @@ -57,7 +57,7 @@ struct _GstPipelineClass { }; GType gst_pipeline_get_type (void); -GstElement* gst_pipeline_new (const guchar *name); +GstElement* gst_pipeline_new (const gchar *name); #define gst_pipeline_destroy(pipeline) gst_object_destroy(GST_OBJECT(pipeline)) void gst_pipeline_iterate (GstPipeline *pipeline); diff --git a/gst/gstthread.c b/gst/gstthread.c index 27ae96c6d7..608e1f2cba 100644 --- a/gst/gstthread.c +++ b/gst/gstthread.c @@ -227,7 +227,7 @@ gst_thread_get_property (GObject *object, guint prop_id, GValue *value, GParamSp * Returns: The new thread */ GstElement* -gst_thread_new (const guchar *name) +gst_thread_new (const gchar *name) { return gst_elementfactory_make ("thread", name); } diff --git a/gst/gstthread.h b/gst/gstthread.h index a75261e3e6..961457679c 100644 --- a/gst/gstthread.h +++ b/gst/gstthread.h @@ -82,7 +82,7 @@ struct _GstThreadClass { GType gst_thread_get_type (void); -GstElement* gst_thread_new (const guchar *name); +GstElement* gst_thread_new (const gchar *name); #ifdef __cplusplus }