From b5c19c74262199fb769fd9c79ec098be620cc6a8 Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Sun, 22 Dec 2019 21:13:00 +0900 Subject: [PATCH] gst-inspect: Increase array size for printing rank name Now the rank value can be MAX_INT (2147483647) --- tools/gst-inspect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/gst-inspect.c b/tools/gst-inspect.c index 1b5ed83f89..cb29f57528 100644 --- a/tools/gst-inspect.c +++ b/tools/gst-inspect.c @@ -225,7 +225,7 @@ print_factory_details_info (GstElementFactory * factory) { gchar **keys, **k; GstRank rank; - char s[20]; + char s[40]; rank = gst_plugin_feature_get_rank (GST_PLUGIN_FEATURE (factory)); n_print ("%sFactory Details:%s\n", HEADING_COLOR, RESET_COLOR); @@ -1610,7 +1610,7 @@ print_typefind_info (GstPluginFeature * feature, gboolean print_names) GstPlugin *plugin; GstCaps *caps; GstRank rank; - char s[20]; + char s[40]; const gchar *const *extensions; factory = GST_TYPE_FIND_FACTORY (gst_plugin_feature_load (feature));