gst/gst.c (gst_init_check): Ignore unknown options, as has always been the case.

Original commit message from CVS:
2005-10-12  Andy Wingo  <wingo@pobox.com>

* gst/gst.c (gst_init_check): Ignore unknown options, as has
always been the case.
This commit is contained in:
Andy Wingo 2005-10-12 15:58:24 +00:00
parent a98aef82db
commit b5fcd112ae
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2005-10-12 Andy Wingo <wingo@pobox.com>
* gst/gst.c (gst_init_check): Ignore unknown options, as has
always been the case.
2005-10-12 Stefan Kost <ensonic@users.sf.net>
* check/gst/gstbin.c: (GST_START_TEST):
@ -84,6 +89,9 @@
2005-10-12 Andy Wingo <wingo@pobox.com>
* gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
removed.
* gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
there is no task. Shouldn't affect any code, as nothing in our
plugins checks this return value.

View file

@ -338,6 +338,7 @@ gst_init_check (int *argc, char **argv[], GError ** err)
}
ctx = g_option_context_new ("- GStreamer initialization");
g_option_context_set_ignore_unknown_options (ctx, TRUE);
group = gst_init_get_option_group ();
g_option_context_add_group (ctx, group);
res = g_option_context_parse (ctx, argc, argv, err);