From 8e3e6ddba3edbb8fc628c54249e277311177568c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Cr=C3=AAte?= Date: Wed, 24 Aug 2022 12:42:12 -0400 Subject: [PATCH] value: Use g_critical() when trying to serialize things that can't be Part-of: --- subprojects/gstreamer/gst/gstvalue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subprojects/gstreamer/gst/gstvalue.c b/subprojects/gstreamer/gst/gstvalue.c index 543f8d31b7..f475a4e403 100644 --- a/subprojects/gstreamer/gst/gstvalue.c +++ b/subprojects/gstreamer/gst/gstvalue.c @@ -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)); } }