gstreamer_core/tools/gst-launch.c
changeset 20 7e3786c5ed27
parent 0 0e761a78d257
child 30 7e817e7e631c
--- a/gstreamer_core/tools/gst-launch.c	Fri Apr 30 19:11:56 2010 -0500
+++ b/gstreamer_core/tools/gst-launch.c	Fri May 14 18:43:44 2010 -0500
@@ -40,6 +40,8 @@
 #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. */
@@ -47,7 +49,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);
@@ -581,11 +583,11 @@
 main (int argc, char *argv[])
 {
   /* options */
-  gboolean verbose = FALSE;
-  gboolean no_fault = FALSE;
-  gboolean trace = FALSE;
+  static gboolean verbose = FALSE;
+  static gboolean no_fault = FALSE;
+  static gboolean trace = FALSE;
   gchar *savefile = NULL;
-  gchar *exclude_args = NULL;
+  static gchar *exclude_args = NULL;
   GOptionEntry options[] = {
     {"tags", 't', 0, G_OPTION_ARG_NONE, &tags,
         N_("Output tags (also known as metadata)"), NULL},