mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
lv2: tweak enum logging
Log more details when we find a bad scalepoint and downgrade the logging of the good enum valzes.
This commit is contained in:
parent
04a957c9b8
commit
63afc05c7f
1 changed files with 3 additions and 2 deletions
|
@ -421,7 +421,8 @@ gst_lv2_class_get_param_spec (GstLV2Class * klass, GObjectClass * object_class,
|
|||
|
||||
/* check if value can be safely converted to int */
|
||||
if (v != (gint) v) {
|
||||
GST_DEBUG ("non integer scale point %lf, %s", v, l);
|
||||
GST_INFO ("%s:%s non integer scale point %lf, %s",
|
||||
lilv_node_as_string (lilv_plugin_get_uri (lv2plugin)), name, v, l);
|
||||
break;
|
||||
}
|
||||
if (v == def) {
|
||||
|
@ -429,7 +430,7 @@ gst_lv2_class_get_param_spec (GstLV2Class * klass, GObjectClass * object_class,
|
|||
}
|
||||
enums[j].value = (gint) v;
|
||||
enums[j].value_nick = enums[j].value_name = l;
|
||||
GST_DEBUG ("%s:%s enum: %lf, %s",
|
||||
GST_LOG ("%s:%s enum: %lf, %s",
|
||||
lilv_node_as_string (lilv_plugin_get_uri (lv2plugin)), name, v, l);
|
||||
j++;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue