[gstreamer-bugs] [Bug 625211] import gst acts on --help or -h in sys.argv, preempting __main__

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jan 14 02:37:03 PST 2011


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

--- Comment #5 from Vincent Penquerc'h <vincent.penquerch at collabora.co.uk> 2011-01-14 10:37:01 UTC ---
Created an attachment (id=178306)
 View: https://bugzilla.gnome.org/attachment.cgi?id=178306
 Review: https://bugzilla.gnome.org/review?bug=625211&attachment=178306

gst-python: do not hijack --help, -h, --version

We want gstreamer to not hijack some options, as it will exit if it finds them,
namely --help, -h, and --version. We take them out of sys.argv, and will be
restoring them afterwards so the calling program sees them as supplied.

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