mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +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/2823>
This commit is contained in:
parent
927334ef43
commit
8e3e6ddba3
1 changed files with 2 additions and 2 deletions
|
@ -390,7 +390,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));
|
||||
}
|
||||
}
|
||||
|
@ -457,7 +457,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