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

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Mar 31 03:24:39 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|RESOLVED                    |UNCONFIRMED
         Resolution|WONTFIX                     |




------- Comment #8 from Edward Hervey  2009-03-31 10:24 UTC -------
Tobias, as I said, we can't do this without introducing a regression (all
current applications expect sys.argv to be parsed when doing 'import gst').

Furthermore, we currently can't split up the gstreamer initialisation from the
argument parsing.

Let's suppose we were to pass no argv to gst_init() (ex: gst_init(NULL,
NULL)).... well we can't call that method again with the proper argv (using an
explicit call after the gst import) because gstreamer will already be
initialized and gst_init() will return straight away.

The problem is that we *need* to call gst_init() before using anything
GStreamer related (else you won't have any types registered, etc...).

So basically... the problem is in core. We need to be able to split up the
initialization from the argument parsing.


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