Original commit message from CVS:
* tools/gst-launch.c: (main):
Remove crufy code. GOption does not need this workaround.
+2007-06-15 Stefan Kost <ensonic@users.sf.net>
+
+ * tools/gst-launch.c: (main):
+ Remove crufy code. GOption does not need this workaround.
+
2007-06-14 Stefan Kost <ensonic@users.sf.net>
* libs/gst/controller/gstcontroller.c:
int
main (int argc, char *argv[])
{
- gint i, j;
-
/* options */
gboolean verbose = FALSE;
gboolean no_fault = FALSE;
gst_tools_print_version ("gst-launch");
- /* FIXpopt: strip short args, too. We do it ourselves for now */
- j = 1;
- for (i = 1; i < argc; i++) {
- if (*(argv[i]) == '-') {
- if (strlen (argv[i]) == 2) {
- gchar *c = argv[i];
-
- c++;
- if (*c == 'X' || *c == 'o') {
- i++;
- }
- }
- } else {
- argv[j] = argv[i];
- j++;
- }
- }
- argc = j;
-
#ifndef DISABLE_FAULT_HANDLER
if (!no_fault)
fault_setup ();