mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
Show even long property name
Original commit message from CVS: Show even long property name
This commit is contained in:
parent
f0c104309d
commit
88aba59fb7
1 changed files with 9 additions and 2 deletions
|
@ -235,7 +235,7 @@ print_element_properties (GstElement *element)
|
|||
g_object_get_property (G_OBJECT (element), param->name, &value);
|
||||
}
|
||||
|
||||
g_print(" %-20.20s: %s\n", g_param_spec_get_name (param),
|
||||
g_print(" %-20s: %s\n", g_param_spec_get_name (param),
|
||||
g_param_spec_get_blurb (param));
|
||||
|
||||
switch (G_VALUE_TYPE (&value)) {
|
||||
|
@ -873,8 +873,15 @@ main (int argc, char *argv[])
|
|||
GstElementFactory *factory;
|
||||
GstPlugin *plugin;
|
||||
gchar *so;
|
||||
struct poptOption options[] = {
|
||||
{"gst-inspect-plugin", 'p', POPT_ARG_STRING|POPT_ARGFLAG_STRIP, NULL, 0,
|
||||
"Show plugin details", NULL},
|
||||
{"gst-inspect-scheduler", 's', POPT_ARG_STRING|POPT_ARGFLAG_STRIP, NULL, 0,
|
||||
"Show scheduler details", NULL},
|
||||
POPT_TABLEEND
|
||||
};
|
||||
|
||||
gst_init (&argc, &argv);
|
||||
gst_init_with_popt_table (&argc, &argv, options);
|
||||
gst_control_init (&argc, &argv);
|
||||
|
||||
/* if no arguments, print out list of elements */
|
||||
|
|
Loading…
Reference in a new issue