mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-09 00:45:56 +00:00
tools/gst-inspect.c: Handle properties of POINTER and BOXED type.
Original commit message from CVS: * tools/gst-inspect.c: (print_element_properties_info): Handle properties of POINTER and BOXED type.
This commit is contained in:
parent
aee739e875
commit
0042a697dc
2 changed files with 15 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* tools/gst-inspect.c: (print_element_properties_info):
|
||||
Handle properties of POINTER and BOXED type.
|
||||
|
||||
2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/gst.c: (init_post):
|
||||
|
|
|
@ -496,6 +496,16 @@ print_element_properties_info (GstElement * element)
|
|||
} else if (G_IS_PARAM_SPEC_OBJECT (param)) {
|
||||
n_print ("%-23.23s Object of type \"%s\"", "",
|
||||
g_type_name (param->value_type));
|
||||
} else if (G_IS_PARAM_SPEC_BOXED (param)) {
|
||||
n_print ("%-23.23s Boxed pointer of type \"%s\"", "",
|
||||
g_type_name (param->value_type));
|
||||
} else if (G_IS_PARAM_SPEC_POINTER (param)) {
|
||||
if (param->value_type != G_TYPE_POINTER) {
|
||||
n_print ("%-23.23s Pointer of type \"%s\".", "",
|
||||
g_type_name (param->value_type));
|
||||
} else {
|
||||
n_print ("%-23.23s Pointer.", "");
|
||||
}
|
||||
} else {
|
||||
n_print ("%-23.23s Unknown type %ld \"%s\"", "", param->value_type,
|
||||
g_type_name (param->value_type));
|
||||
|
|
Loading…
Reference in a new issue