From 560d23e10bb9102730eeabc6b3a1998bba503eea Mon Sep 17 00:00:00 2001 From: Erik Walthinsen Date: Sat, 10 Mar 2001 09:03:39 +0000 Subject: [PATCH] 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 --- gst/gstpipeline.c | 2 +- gst/gstpipeline.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/gstpipeline.c b/gst/gstpipeline.c index f42d82bd2b..f2772d488d 100644 --- a/gst/gstpipeline.c +++ b/gst/gstpipeline.c @@ -107,7 +107,7 @@ gst_pipeline_init (GstPipeline *pipeline) * Returns: newly created GstPipeline */ GstElement* -gst_pipeline_new (guchar *name) +gst_pipeline_new (const guchar *name) { return gst_elementfactory_make ("pipeline", name); } diff --git a/gst/gstpipeline.h b/gst/gstpipeline.h index 3c13978e63..27f14e4526 100644 --- a/gst/gstpipeline.h +++ b/gst/gstpipeline.h @@ -57,7 +57,7 @@ struct _GstPipelineClass { }; 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)) void gst_pipeline_iterate (GstPipeline *pipeline);