structure: Demote WARNING to INFO

It is common to use gst_structure_get() to know if a field is present
or not.
This commit is contained in:
Edward Hervey 2012-07-06 12:45:29 +02:00
parent e4bfefb51b
commit d2627a158e

View file

@ -2806,13 +2806,13 @@ gst_structure_get_valist (const GstStructure * structure,
/* ERRORS */ /* ERRORS */
no_such_field: no_such_field:
{ {
GST_WARNING ("Expected field '%s' in structure: %" GST_PTR_FORMAT, GST_INFO ("Expected field '%s' in structure: %" GST_PTR_FORMAT,
field_name, structure); field_name, structure);
return FALSE; return FALSE;
} }
wrong_type: wrong_type:
{ {
GST_WARNING ("Expected field '%s' in structure to be of type '%s', but " GST_INFO ("Expected field '%s' in structure to be of type '%s', but "
"field was of type '%s': %" GST_PTR_FORMAT, field_name, "field was of type '%s': %" GST_PTR_FORMAT, field_name,
GST_STR_NULL (g_type_name (expected_type)), GST_STR_NULL (g_type_name (expected_type)),
G_VALUE_TYPE_NAME (gst_structure_get_value (structure, field_name)), G_VALUE_TYPE_NAME (gst_structure_get_value (structure, field_name)),