summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Robillard <dave@drobilla.net>2009-06-25 12:31:32 -0400
committerDave Robillard <dave@drobilla.net>2009-06-25 12:31:32 -0400
commite1a82c1c68467664d08c1ffb505a204ced76082e (patch)
tree544026765d5c7a8d7e649ce432b7df1053bf4249
parent0ce58265e5ae76238aa7d0b9d56def61fe6be664 (diff)
downloadgst-plugins-bad-e1a82c1c68467664d08c1ffb505a204ced76082e.tar.gz
gst-plugins-bad-e1a82c1c68467664d08c1ffb505a204ced76082e.tar.bz2
gst-plugins-bad-e1a82c1c68467664d08c1ffb505a204ced76082e.zip
Use GST_WARNING instead of fprintf.
-rw-r--r--ext/lv2/gstlv2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/lv2/gstlv2.c b/ext/lv2/gstlv2.c
index 533d9d47..4cadb506 100644
--- a/ext/lv2/gstlv2.c
+++ b/ext/lv2/gstlv2.c
@@ -263,13 +263,13 @@ gst_lv2_class_get_param_spec (GstLV2Class * klass, gint portnum)
upper = slv2_value_as_float (lv2max);
if (def < lower) {
- fprintf (stderr, "ERROR: %s BAD LOWER %f > %f\n",
+ GST_WARNING ("%s has lower bound %f > default %f\n",
slv2_value_as_string (slv2_plugin_get_uri (lv2plugin)), lower, def);
lower = def;
}
if (def > upper) {
- fprintf (stderr, "ERROR: %s BAD UPPER %f < %f\n",
+ GST_WARNING ("%s has upper bound %f < default %f\n",
slv2_value_as_string (slv2_plugin_get_uri (lv2plugin)), upper, def);
upper = def;
}