mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
gst-inspect: Increase array size for printing rank name
Now the rank value can be MAX_INT (2147483647)
This commit is contained in:
parent
52706146f5
commit
b5c19c7426
1 changed files with 2 additions and 2 deletions
|
@ -225,7 +225,7 @@ print_factory_details_info (GstElementFactory * factory)
|
||||||
{
|
{
|
||||||
gchar **keys, **k;
|
gchar **keys, **k;
|
||||||
GstRank rank;
|
GstRank rank;
|
||||||
char s[20];
|
char s[40];
|
||||||
|
|
||||||
rank = gst_plugin_feature_get_rank (GST_PLUGIN_FEATURE (factory));
|
rank = gst_plugin_feature_get_rank (GST_PLUGIN_FEATURE (factory));
|
||||||
n_print ("%sFactory Details:%s\n", HEADING_COLOR, RESET_COLOR);
|
n_print ("%sFactory Details:%s\n", HEADING_COLOR, RESET_COLOR);
|
||||||
|
@ -1610,7 +1610,7 @@ print_typefind_info (GstPluginFeature * feature, gboolean print_names)
|
||||||
GstPlugin *plugin;
|
GstPlugin *plugin;
|
||||||
GstCaps *caps;
|
GstCaps *caps;
|
||||||
GstRank rank;
|
GstRank rank;
|
||||||
char s[20];
|
char s[40];
|
||||||
const gchar *const *extensions;
|
const gchar *const *extensions;
|
||||||
|
|
||||||
factory = GST_TYPE_FIND_FACTORY (gst_plugin_feature_load (feature));
|
factory = GST_TYPE_FIND_FACTORY (gst_plugin_feature_load (feature));
|
||||||
|
|
Loading…
Reference in a new issue