gstreamer_core/tools/gst-launch.c
branchRCL_3
changeset 30 7e817e7e631c
parent 29 567bb019e3e3
--- a/gstreamer_core/tools/gst-launch.c	Tue Aug 31 15:30:33 2010 +0300
+++ b/gstreamer_core/tools/gst-launch.c	Wed Sep 01 12:16:41 2010 +0100
@@ -40,8 +40,6 @@
 #endif
 #include <locale.h>             /* for LC_ALL */
 #include "tools.h"
-#include <glib.h>
-#include "../gst/gst-i18n-app.h"
 
 /* FIXME: This is just a temporary hack.  We should have a better
  * check for siginfo handling. */
@@ -49,7 +47,7 @@
 #define USE_SIGINFO
 #endif
 
-//extern volatile gboolean glib_on_error_halt;
+extern volatile gboolean glib_on_error_halt;
 
 #ifndef DISABLE_FAULT_HANDLER
 static void fault_restore (void);
@@ -583,11 +581,11 @@
 main (int argc, char *argv[])
 {
   /* options */
-  static gboolean verbose = FALSE;
-  static gboolean no_fault = FALSE;
-  static gboolean trace = FALSE;
+  gboolean verbose = FALSE;
+  gboolean no_fault = FALSE;
+  gboolean trace = FALSE;
   gchar *savefile = NULL;
-  static gchar *exclude_args = NULL;
+  gchar *exclude_args = NULL;
   GOptionEntry options[] = {
     {"tags", 't', 0, G_OPTION_ARG_NONE, &tags,
         N_("Output tags (also known as metadata)"), NULL},