Gstreamer get version from python ?

Stuart Axon stuaxo2 at yahoo.com
Sun Feb 5 19:13:56 UTC 2017


This turned out to be because I hadn't imported

GstVideo
I wonder if it would be possible to include have an error message with this info, when trying to use set_window_handle without first importing GstVideo ?
 S++ 

    On Sunday, February 5, 2017 2:15 PM, Stuart Axon <stuaxo2 at yahoo.com> wrote:
 

 I'm using gst uninstalled on some pis.
Sometimes, it looks like they start using the system gstreamer instead of gstreamer uninstalled.
Basically set_window_handle becomes unavailable.

Is there a way to check the version, so I can verify this is what is happening ? 

I have this bit of code
def on_sync_message(bus, msg):
    if msg.get_structure().get_name() == 'prepare-window-handle':
        _sink = msg.src
        _sink.set_window_handle(win_handle)And after some amount of hours it starts failing.


I run the pis for hours they will randomly start not having set_window_handle

S++

   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170205/451bce3b/attachment.html>


More information about the gstreamer-devel mailing list