parent 0f82acc7
common @ e400d0fc
Subproject commit 49b94b4d92a9621d42aa6c80bd720e2abc747fe4
Subproject commit e400d0fc2780dac2ee516286893d4f312d065f86
......@@ -995,7 +995,7 @@ gst_element_remove_pad (GstElement *element, GstPad *pad)
* Returns: the added ghost pad or NULL, if no ghost pad was created.
GstPad *
gst_element_add_ghost_pad (GstElement *element, GstPad *pad, gchar *name)
gst_element_add_ghost_pad (GstElement *element, GstPad *pad, const gchar *name)
GstPad *ghostpad;
......@@ -1007,8 +1007,9 @@ gst_element_add_ghost_pad (GstElement *element, GstPad *pad, gchar *name)
/* then check to see if there's already a pad by that name here */
g_return_val_if_fail (gst_object_check_uniqueness (element->pads, name) == TRUE, NULL);
GST_DEBUG(GST_CAT_ELEMENT_PADS,"creating new ghost pad called %s, from pad %s:%s",
"creating new ghost pad called %s, from pad %s:%s",
name, GST_DEBUG_PAD_NAME(pad));
ghostpad = gst_ghost_pad_new (name, pad);
/* add it to the list */
......@@ -228,7 +228,7 @@ GstScheduler* gst_element_get_scheduler (GstElement *element);
void gst_element_add_pad (GstElement *element, GstPad *pad);
void gst_element_remove_pad (GstElement *element, GstPad *pad);
GstPad * gst_element_add_ghost_pad (GstElement *element, GstPad *pad, gchar *name);
GstPad * gst_element_add_ghost_pad (GstElement *element, GstPad *pad, const gchar *name);
void gst_element_remove_ghost_pad (GstElement *element, GstPad *pad);
GstPad* gst_element_get_pad (GstElement *element, const gchar *name);
......@@ -2400,7 +2400,7 @@ gst_ghost_pad_init (GstGhostPad *pad)
* Returns: new ghost pad
gst_ghost_pad_new (gchar *name,
gst_ghost_pad_new (const gchar *name,
GstPad *pad)
GstGhostPad *ghostpad;
......@@ -489,7 +489,7 @@ void gst_pad_load_and_connect (xmlNodePtr self, GstObject *parent);
/* ghostpads */
GstPad* gst_ghost_pad_new (gchar *name,GstPad *pad);
GstPad* gst_ghost_pad_new (const gchar *name, GstPad *pad);
/* templates and factories */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment