After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 739535 - Provide a way to get the version number of gst-python introspection overrides
Provide a way to get the version number of gst-python introspection overrides
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-python
1.4.0
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 682886
 
 
Reported: 2014-11-02 18:49 UTC by Jean-François Fortin Tam
Modified: 2018-05-07 09:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jean-François Fortin Tam 2014-11-02 18:49:29 UTC
In the old days of static bindings, gst-python had a function where you could check its version number. AFAICT this is gone since the era of introspection, but the need is still there.

Currently, in Pitivi the only way we have to check for gst-python's presence (let alone its version) is to try to do a Gst.Fraction(90001, 1)
and see if it spits a TypeError (saying that no arguments are supported etc).
Comment 1 Edward Hervey 2018-05-07 09:27:54 UTC
Just get the gstreamer version (gi.repository.Gst.version()). The overrides are released at the same time.