23 |
23 |
24 #ifdef HAVE_CONFIG_H |
24 #ifdef HAVE_CONFIG_H |
25 # include "config.h" |
25 # include "config.h" |
26 #endif |
26 #endif |
27 |
27 |
28 #include <gst/controller/gstcontroller.h> |
28 |
29 |
29 #include<gst/gst_global.h> |
30 #include "tools.h" |
30 #include "tools.h" |
31 |
31 |
32 #include <string.h> |
32 #include <string.h> |
33 #include <locale.h> |
33 #include <locale.h> |
34 #include <glib/gprintf.h> |
34 #include <glib/gprintf.h> |
|
35 #include <gobject_global.h> |
|
36 #include <gst/controller/gstcontroller.h> |
35 |
37 |
36 static char *_name = NULL; |
38 static char *_name = NULL; |
37 |
39 |
38 static int print_element_info (GstElementFactory * factory, |
40 static int print_element_info (GstElementFactory * factory, |
39 gboolean print_names); |
41 gboolean print_names); |
1295 } |
1297 } |
1296 |
1298 |
1297 int |
1299 int |
1298 main (int argc, char *argv[]) |
1300 main (int argc, char *argv[]) |
1299 { |
1301 { |
1300 gboolean print_all = FALSE; |
1302 static gboolean print_all = FALSE; |
1301 gboolean print_aii = FALSE; |
1303 static gboolean print_aii = FALSE; |
1302 GOptionEntry options[] = { |
1304 GOptionEntry options[] = { |
1303 {"print-all", 'a', 0, G_OPTION_ARG_NONE, &print_all, |
1305 {"print-all", 'a', 0, G_OPTION_ARG_NONE, &print_all, |
1304 N_("Print all elements"), NULL}, |
1306 N_("Print all elements"), NULL}, |
1305 {"print-plugin-auto-install-info", '\0', 0, G_OPTION_ARG_NONE, &print_aii, |
1307 {"print-plugin-auto-install-info", '\0', 0, G_OPTION_ARG_NONE, &print_aii, |
1306 N_("Print a machine-parsable list of features the specified plugin " |
1308 N_("Print a machine-parsable list of features the specified plugin " |