structure: Demote WARNING to DEBUG

It is not an issue to get fields that don't exist, calling code should
handle that.
This commit is contained in:
Edward Hervey 2012-07-11 10:24:51 +02:00
parent d3ffa82639
commit 634cb80c8e

View file

@ -2851,13 +2851,13 @@ gst_structure_id_get_valist (const GstStructure * structure,
/* ERRORS */
no_such_field:
{
GST_WARNING ("Expected field '%s' in structure: %" GST_PTR_FORMAT,
GST_DEBUG ("Expected field '%s' in structure: %" GST_PTR_FORMAT,
GST_STR_NULL (g_quark_to_string (field_id)), structure);
return FALSE;
}
wrong_type:
{
GST_WARNING ("Expected field '%s' in structure to be of type '%s', but "
GST_DEBUG ("Expected field '%s' in structure to be of type '%s', but "
"field was of type '%s': %" GST_PTR_FORMAT,
g_quark_to_string (field_id),
GST_STR_NULL (g_type_name (expected_type)),