void _gst_format_initialize (void);
/* register a new format */
-GstFormat gst_format_register (const gchar *nick, const gchar *description);
-
+GstFormat gst_format_register (const gchar *nick,
+ const gchar *description);
GstFormat gst_format_get_by_nick (const gchar *nick);
/* query for format details */
-const GstFormatDefinition * gst_format_get_details (GstFormat format);
-const GList * gst_format_get_definitions (void);
+const GstFormatDefinition*
+ gst_format_get_details (GstFormat format);
+const GList* gst_format_get_definitions (void);
G_END_DECLS
if (flags)
g_string_free (flags, TRUE);
}
- else {
- g_print ("%-23.23s Unknown type %ld \"%s\"", "",param->value_type,
+ else if (G_IS_PARAM_SPEC_OBJECT (param)) {
+ g_print("%-23.23s Object of type \"%s\"", "",
g_type_name(param->value_type));
+ }
+ else {
+ g_print ("%-23.23s Unknown type %ld \"%s\"", "",param->value_type,
+ g_type_name(param->value_type));
}
break;
}
return_type = query->return_type;
param_types = query->param_types;
- g_print (" \"%s\" :\t %s user_function (%s* object, \n",
+ g_print (" \"%s\" :\t %s user_function (%s* object",
query->signal_name, g_type_name (return_type),
g_type_name (G_OBJECT_TYPE (element)));
for (j = 0; j < n_params; j++) {
- g_print (" \t\t\t\t%s arg%d,\n", g_type_name (param_types[j]), j);
+ g_print (",\n \t\t\t\t%s arg%d", g_type_name (param_types[j]), j);
}
- g_print (" \t\t\t\tgpointer user_data);\n");
+ if (k == 0)
+ g_print (",\n \t\t\t\tgpointer user_data);\n");
+ else
+ g_print (");\n");
counted++;
}