diff --git a/gst/gstpad.c b/gst/gstpad.c index 5951aeefbf..de8130119e 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -1500,7 +1500,7 @@ gst_real_pad_dispose (GObject *object) /* No connected pad can ever be disposed. * It has to have a parent to be connected and a parent would hold a reference */ g_assert (GST_PAD_PEER (pad) == NULL); - + GST_DEBUG (GST_CAT_REFCOUNTING, "dispose %s:%s\n", GST_DEBUG_PAD_NAME(pad)); if (GST_PAD_PADTEMPLATE (pad)){ diff --git a/gst/gstparse.c b/gst/gstparse.c index f1625337cb..5f8ce12606 100644 --- a/gst/gstparse.c +++ b/gst/gstparse.c @@ -621,7 +621,7 @@ gst_parse_launch (const gchar * pipeline_description) } /* do it! */ - pipeline = gst_parse_launchv (argvn); + pipeline = gst_parse_launchv ((const char**) argvn); GST_DEBUG(0, "Finished - freeing temporary argument array"); g_strfreev(argvn);