[gstreamer-bugs] [Bug 549879] gst-python managing sys.argv while it shouldn't

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Mar 30 02:26:12 PDT 2009


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=549879

  GStreamer | gst-python | Ver: 0.10.12

Edward Hervey changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |WONTFIX




------- Comment #6 from Edward Hervey  2009-03-30 09:26 UTC -------
The workaround is straight forward : parse sys.argv before calling import gst.
sys.argv parsing should, after all, be the first thing you do in your
application/loader.

We're then left with two options in gst-python:
* Leave it as it is now (parses the existing sys.argv when 'import gst' is
called).
* Don't pass any arguments to gst_init() ... but then (1) it causes a
regression for existing applications relying on that behaviour, (2) we no
longer have a way to pass arguments to gst_init().

the sys.argv arguments *NEED* to be parsed when calling gst_init(). There's no
way around that, since they will modify the gstreamer initialization.

marking as WONTFIX.


-- 
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=549879.




More information about the Gstreamer-bugs mailing list