added tool-man's patch for g++ compilation, const guchar for pipeline_new

Original commit message from CVS:
added tool-man's patch for g++ compilation, const guchar for pipeline_new
This commit is contained in:
Erik Walthinsen 2001-03-10 09:03:39 +00:00
parent 5f4ccbbdea
commit 560d23e10b
2 changed files with 2 additions and 2 deletions

View file

@ -107,7 +107,7 @@ gst_pipeline_init (GstPipeline *pipeline)
* Returns: newly created GstPipeline * Returns: newly created GstPipeline
*/ */
GstElement* GstElement*
gst_pipeline_new (guchar *name) gst_pipeline_new (const guchar *name)
{ {
return gst_elementfactory_make ("pipeline", name); return gst_elementfactory_make ("pipeline", name);
} }

View file

@ -57,7 +57,7 @@ struct _GstPipelineClass {
}; };
GtkType gst_pipeline_get_type (void); GtkType gst_pipeline_get_type (void);
GstElement* gst_pipeline_new (guchar *name); GstElement* gst_pipeline_new (const guchar *name);
#define gst_pipeline_destroy(pipeline) gst_object_destroy(GST_OBJECT(pipeline)) #define gst_pipeline_destroy(pipeline) gst_object_destroy(GST_OBJECT(pipeline))
void gst_pipeline_iterate (GstPipeline *pipeline); void gst_pipeline_iterate (GstPipeline *pipeline);