gst-inspect: Increase array size for printing rank name

Now the rank value can be MAX_INT (2147483647)
This commit is contained in:
Seungha Yang 2019-12-22 21:13:00 +09:00 committed by Tim-Philipp Müller
parent 52706146f5
commit b5c19c7426

View file

@ -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));