mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
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:
parent
e4bfefb51b
commit
d2627a158e
1 changed files with 2 additions and 2 deletions
|
@ -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)),
|
||||||
|
|
Loading…
Reference in a new issue