mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-29 12:25:37 +00:00
value: Use g_critical() when trying to serialize things that can't be
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2986>
This commit is contained in:
parent
1d32310089
commit
fa10a28016
1 changed files with 2 additions and 2 deletions
|
@ -375,7 +375,7 @@ _priv_gst_value_serialize_any_list (const GValue * value, const gchar * begin,
|
|||
g_string_append_len (s, ", ", 2);
|
||||
}
|
||||
} else {
|
||||
GST_WARNING ("Could not serialize list/array value of type '%s'",
|
||||
g_critical ("Could not serialize list/array value of type '%s'",
|
||||
G_VALUE_TYPE_NAME (v));
|
||||
}
|
||||
}
|
||||
|
@ -442,7 +442,7 @@ _gst_value_serialize_g_value_array (const GValue * value, const gchar * begin,
|
|||
g_string_append_len (s, ", ", 2);
|
||||
}
|
||||
} else {
|
||||
GST_WARNING ("Could not serialize list/array value of type '%s'",
|
||||
g_critical ("Could not serialize list/array value of type '%s'",
|
||||
G_VALUE_TYPE_NAME (v));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue