<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1504335918507_4094">Hey Arjen,</div><div id="yui_3_16_0_1_1504335918507_4188"><br></div><div id="yui_3_16_0_1_1504335918507_4095">Sorry for the delay I was on holiday.</div><div id="yui_3_16_0_1_1504335918507_4096"><br></div><div id="yui_3_16_0_1_1504335918507_4097">Thanks for your bit of code, it was very useful indeed!<br></div><div id="yui_3_16_0_1_1504335918507_4098">Even though it's not as (Python-wise) integrated as one could wish, it will still help a lot in handling errors.</div><div id="yui_3_16_0_1_1504335918507_4208"><br></div><div id="yui_3_16_0_1_1504335918507_4099"><span>Seb</span></div><div class="qtdSeparateBR" id="yui_3_16_0_1_1504335918507_4106"><br><br></div><div class="yahoo_quoted" id="yui_3_16_0_1_1504335918507_3949" style="display: block;">  <div style="font-family: Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_1_1504335918507_3948"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_1_1504335918507_3947"> <div dir="ltr" id="yui_3_16_0_1_1504335918507_4061"> <font id="yui_3_16_0_1_1504335918507_4107" size="2" face="Arial"> <hr id="yui_3_16_0_1_1504335918507_4209" size="1"> <b><span style="font-weight:bold;">De :</span></b> Arjen Veenhuizen <arjen@moonlightmedia.nl><br> <b><span style="font-weight: bold;">À :</span></b> gstreamer-devel@lists.freedesktop.org <br> <b><span style="font-weight: bold;">Envoyé le :</span></b> Dimanche 20 août 2017 10h02<br> <b><span style="font-weight: bold;">Objet :</span></b> Re: Catch Gstreamer errors in Python?<br> </font> </div> <div class="y_msg_container" id="yui_3_16_0_1_1504335918507_3946"><br><div dir="ltr" id="yui_3_16_0_1_1504335918507_3945">This should get you going:<br></div><div dir="ltr" id="yui_3_16_0_1_1504335918507_4251"><br></div><div dir="ltr" id="yui_3_16_0_1_1504335918507_4059"><br></div><div dir="ltr" id="yui_3_16_0_1_1504335918507_4060"><br></div><div dir="ltr" id="yui_3_16_0_1_1504335918507_4276">As you can see, I use string matching and error code matching to figure out<br></div><div dir="ltr" id="yui_3_16_0_1_1504335918507_3981">what went wrong. Perhaps there is a more elegant way of doing this but I am<br></div><div dir="ltr" id="yui_3_16_0_1_1504335918507_4042">unaware of that.<br></div><div dir="ltr" id="yui_3_16_0_1_1504335918507_3982"><br></div><div dir="ltr" id="yui_3_16_0_1_1504335918507_3983"><br></div><div dir="ltr" id="yui_3_16_0_1_1504335918507_4014"><br></div><div dir="ltr" id="yui_3_16_0_1_1504335918507_3984">--<br></div><div dir="ltr" id="yui_3_16_0_1_1504335918507_3986">View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Catch-Gstreamer-errors-in-Python-tp4684268p4684271.html" target="_blank" id="yui_3_16_0_1_1504335918507_3985">http://gstreamer-devel.966125.n4.nabble.com/Catch-Gstreamer-errors-in-Python-tp4684268p4684271.html</a><br></div><div dir="ltr">Sent from the GStreamer-devel mailing list archive at Nabble.com.<br></div><div dir="ltr">_______________________________________________<br></div><div dir="ltr">gstreamer-devel mailing list<br></div><div dir="ltr"><a ymailto="mailto:gstreamer-devel@lists.freedesktop.org" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br></div><div dir="ltr"><a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br></div><br><br></div> </div> </div>  </div></div></body></html>