diff --git a/gst/gstelementfactory.c b/gst/gstelementfactory.c index 4ff1aee465..01f1f0a593 100644 --- a/gst/gstelementfactory.c +++ b/gst/gstelementfactory.c @@ -196,8 +196,10 @@ gst_elementfactory_new (const gchar *name, GType type, if (!factory->type) factory->type = type; else if (factory->type != type) +/* FIXME: g_critical is glib-2.0, not glib-1.2 g_critical ("`%s' requested type change (!)", name); - +*/ + g_warning ("`%s' requested type change (!)", name); gst_object_set_name (GST_OBJECT (factory), name); return factory; @@ -231,7 +233,10 @@ gst_elementfactory_create (GstElementFactory *factory, if (factory->type == 0) { +/* FIXME: g_critical is glib-2.0, not glib-1.2 g_critical ("Factory for `%s' has no type", +*/ + g_warning ("Factory for `%s' has no type", gst_object_get_name (GST_OBJECT (factory))); return NULL; } diff --git a/gst/gstpad.c b/gst/gstpad.c index 83f012eeb0..19899c89dd 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -566,7 +566,10 @@ gst_pad_connect (GstPad *srcpad, GstPad *sinkpad) { if (!gst_pad_try_connect (srcpad, sinkpad)) +/* FIXME: g_critical is glib-2.0, not glib-1.2 g_critical ("couldn't connect %s:%s and %s:%s", +*/ + g_warning ("couldn't connect %s:%s and %s:%s", GST_DEBUG_PAD_NAME (srcpad), GST_DEBUG_PAD_NAME (sinkpad)); } @@ -1476,7 +1479,10 @@ gst_pad_pull (GstPad *pad) if (!peer) { +/* FIXME: g_critical is glib-2.0, not glib-1.2 g_critical ("gst_pad_pull but %s:%s is unconnected", GST_DEBUG_PAD_NAME(pad)); +*/ + g_warning ("gst_pad_pull but %s:%s is unconnected", GST_DEBUG_PAD_NAME(pad)); return NULL; }