[gstreamer-bugs] [Bug 425847] Silently overrides some functions of default module optparse

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Apr 3 07:40:14 PDT 2007


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=425847

  GStreamer | gst-python | Ver: HEAD CVS

René Stadler changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mail at renestadler.de




------- Comment #1 from René Stadler  2007-04-03 14:40 UTC -------
The problem is unrelated to optparse though.  Consider this simple example
session:

>>> import sys
>>> sys.argv.append ("--help")
>>> import pygst; pygst.require ("0.10"); import gst
Usage:
  . [OPTION...] - GStreamer initialization

Help Options:
  -?, --help                      Show help options
  --help-all                      Show all help options
  --help-gst                      Show GStreamer Options

Application Options:


The problem is that the gst module does not act like library.  Instead, it
performs the I'm-a-simple/stupid-program procedure by calling gst_init_check.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=425847.




More information about the Gstreamer-bugs mailing list