gst/gst.c: Remove cpu-opt flag.
authorWim Taymans <wim.taymans@gmail.com>
Mon, 30 May 2005 15:46:15 +0000 (15:46 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Mon, 30 May 2005 15:46:15 +0000 (15:46 +0000)
Original commit message from CVS:
* gst/gst.c: (gst_init_get_popt_table), (init_post),
(init_popt_callback):
Remove cpu-opt flag.

ChangeLog
gst/gst.c

index 5632a3b..3c077f8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2005-05-30  Wim Taymans  <wim@fluendo.com>
 
+       * gst/gst.c: (gst_init_get_popt_table), (init_post),
+       (init_popt_callback):
+       Remove cpu-opt flag.
+
+2005-05-30  Wim Taymans  <wim@fluendo.com>
+
        * gst/gstbuffer.c: (gst_subbuffer_finalize),
        (gst_buffer_create_sub), (gst_buffer_is_span_fast):
        * gst/gstbuffer.h:
index e7458c8..63adfb0 100644 (file)
--- a/gst/gst.c
+++ b/gst/gst.c
@@ -46,8 +46,6 @@ static GstRegistry *_user_registry;
 static gboolean _gst_registry_fixed = FALSE;
 #endif
 
-static gboolean _gst_enable_cpu_opt = TRUE;
-
 static gboolean gst_initialized = FALSE;
 
 /* this will be set in popt callbacks when a problem has been encountered */
@@ -180,8 +178,6 @@ gst_init_get_popt_table (void)
         ARG_DEBUG_DISABLE, N_("Disable debugging")},
 #endif
 
-    {"gst-disable-cpu-opt", NUL, POPT_ARG_NONE | POPT_ARGFLAG_STRIP, NULL,
-        ARG_DISABLE_CPU_OPT, N_("Disable accelerated CPU instructions"), NULL},
     {"gst-plugin-spew", NUL, POPT_ARG_NONE | POPT_ARGFLAG_STRIP, NULL,
         ARG_PLUGIN_SPEW, N_("Enable verbose plugin loading diagnostics"), NULL},
     {"gst-plugin-path", NUL, POPT_ARG_STRING | POPT_ARGFLAG_STRIP, NULL,
@@ -584,7 +580,6 @@ init_post (void)
   _gst_format_initialize ();
   _gst_query_initialize ();
   gst_object_get_type ();
-  gst_probe_get_type ();
   gst_pad_get_type ();
   gst_real_pad_get_type ();
   gst_ghost_pad_get_type ();
@@ -775,9 +770,6 @@ init_popt_callback (poptContext context, enum poptCallbackReason reason,
           gst_debug_help ();
           exit (0);
 #endif
-        case ARG_DISABLE_CPU_OPT:
-          _gst_enable_cpu_opt = FALSE;
-          break;
         case ARG_PLUGIN_SPEW:
           break;
         case ARG_PLUGIN_PATH: