mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-05 18:22:23 +00:00
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:
parent
d3ffa82639
commit
634cb80c8e
1 changed files with 2 additions and 2 deletions
|
@ -2851,13 +2851,13 @@ gst_structure_id_get_valist (const GstStructure * structure,
|
||||||
/* ERRORS */
|
/* ERRORS */
|
||||||
no_such_field:
|
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);
|
GST_STR_NULL (g_quark_to_string (field_id)), structure);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
wrong_type:
|
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,
|
"field was of type '%s': %" GST_PTR_FORMAT,
|
||||||
g_quark_to_string (field_id),
|
g_quark_to_string (field_id),
|
||||||
GST_STR_NULL (g_type_name (expected_type)),
|
GST_STR_NULL (g_type_name (expected_type)),
|
||||||
|
|
Loading…
Reference in a new issue