[Bug 747555] python -c 'from gi.repository import Gst; Gst.Caps.from_string("video/x-raw,format=RGB")' crashes
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Apr 24 00:13:39 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=747555
--- Comment #10 from Thibault Saunier <tsaunier at gnome.org> ---
Ah, sorry forgot to close the bug.
So now if the user forget to init Gst we raise an issue like:
$ python3 -c "from gi.repository import Gst;
print(Gst.Structure.from_string('video/x-raw,framerate=10/1')[0]['framerate'])"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File
"/home/thiblahute/devel/pitivi/1.0-uninstalled/gst-python/gi/overrides/Gst.py",
line 347, in fake_method
raise NotInitalized("Please call Gst.init(argv) before using GStreamer")
gi.overrides.Gst.NotInitalized: Please call Gst.init(argv) before using
GStreamer
--
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