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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Feb 9 13:32:04 PST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=549879
  GStreamer | gst-python | 0.10.12

Behnam Esfahbod [:zwnj] <bugs+behnam> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugs+behnam at zwnj.org

--- Comment #20 from Behnam Esfahbod [:zwnj] <bugs+behnam at zwnj.org> 2013-02-09 21:31:57 UTC ---
As the bug still do exists in Ubuntu 12.10, I'm putting a safe workaround here,
just for the record:
"""
import sys, copy
__argv = copy.copy(sys.argv)
sys.argv = filter(lambda arg: arg not in ('-h', '--help'), sys.argv)
import gst
sys.argv = __argv
"""

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list