diff --git a/ChangeLog b/ChangeLog index 62c582a6f3..045c811891 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-12-27 Tim-Philipp Müller + + * tools/gst-inspect.c: (print_element_properties_info): + Handle properties of POINTER and BOXED type. + 2005-12-27 Tim-Philipp Müller * gst/gst.c: (init_post): diff --git a/tools/gst-inspect.c b/tools/gst-inspect.c index 6c35ed93b2..921793792d 100644 --- a/tools/gst-inspect.c +++ b/tools/gst-inspect.c @@ -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));