mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 23:18:52 +00:00
Fixed a problem with -inspect where some args would not show up correctly
Original commit message from CVS: Fixed a problem with -inspect where some args would not show up correctly
This commit is contained in:
parent
7fb020ffe6
commit
4212a8dfdc
1 changed files with 1 additions and 2 deletions
|
@ -252,7 +252,6 @@ print_element_info (GstElementFactory *factory)
|
||||||
printf("Element Arguments:\n");
|
printf("Element Arguments:\n");
|
||||||
args = gtk_object_query_args(GTK_OBJECT_TYPE(element), &flags, &num_args);
|
args = gtk_object_query_args(GTK_OBJECT_TYPE(element), &flags, &num_args);
|
||||||
for (i=0;i<num_args;i++) {
|
for (i=0;i<num_args;i++) {
|
||||||
gtk_object_getv(GTK_OBJECT(element), 1, &args[i]);
|
|
||||||
|
|
||||||
// FIXME should say whether it's read-only or not
|
// FIXME should say whether it's read-only or not
|
||||||
|
|
||||||
|
@ -283,7 +282,7 @@ print_element_info (GstElementFactory *factory)
|
||||||
else if (args[i].type == GTK_TYPE_WIDGET)
|
else if (args[i].type == GTK_TYPE_WIDGET)
|
||||||
printf("GtkWidget");
|
printf("GtkWidget");
|
||||||
else
|
else
|
||||||
printf("unknown");
|
printf("unknown %d", args[i].type);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
|
Loading…
Reference in a new issue