Catch Gstreamer errors in Python?

Sébastien FENET sebastien.fenet at yahoo.fr
Sat Sep 2 07:10:41 UTC 2017


Hey Arjen,
Sorry for the delay I was on holiday.
Thanks for your bit of code, it was very useful indeed!
Even though it's not as (Python-wise) integrated as one could wish, it will still help a lot in handling errors.
Seb

      De : Arjen Veenhuizen <arjen at moonlightmedia.nl>
 À : gstreamer-devel at lists.freedesktop.org 
 Envoyé le : Dimanche 20 août 2017 10h02
 Objet : Re: Catch Gstreamer errors in Python?
   
This should get you going:



As you can see, I use string matching and error code matching to figure out
what went wrong. Perhaps there is a more elegant way of doing this but I am
unaware of that.



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Catch-Gstreamer-errors-in-Python-tp4684268p4684271.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


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


More information about the gstreamer-devel mailing list