gstreamer_core/tools/gst-inspect.c
changeset 20 7e3786c5ed27
parent 0 0e761a78d257
child 30 7e817e7e631c
--- a/gstreamer_core/tools/gst-inspect.c	Fri Apr 30 19:11:56 2010 -0500
+++ b/gstreamer_core/tools/gst-inspect.c	Fri May 14 18:43:44 2010 -0500
@@ -25,13 +25,15 @@
 #  include "config.h"
 #endif
 
-#include <gst/controller/gstcontroller.h>
 
+#include<gst/gst_global.h>
 #include "tools.h"
 
 #include <string.h>
 #include <locale.h>
 #include <glib/gprintf.h>
+#include <gobject_global.h>
+#include <gst/controller/gstcontroller.h>
 
 static char *_name = NULL;
 
@@ -1297,8 +1299,8 @@
 int
 main (int argc, char *argv[])
 {
-  gboolean print_all = FALSE;
-  gboolean print_aii = FALSE;
+  static gboolean print_all = FALSE;
+  static gboolean print_aii = FALSE;
   GOptionEntry options[] = {
     {"print-all", 'a', 0, G_OPTION_ARG_NONE, &print_all,
         N_("Print all elements"), NULL},