<html><head></head><body><div style="color:#000; background-color:#fff; font-family:lucida console, sans-serif;font-size:13px"><div><span>Answering my own question : gst_element_async_call() seems to fit the bill.</span></div><div><span></span></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: lucida console, sans-serif; font-size: 13px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> Le Vendredi 2 décembre 2016 17h30, philippe renon <philippe_renon@yahoo.fr> a écrit :<br></font></div> <blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;"> <br><br> <div class="y_msg_container"><div id="yiv4098011738"><div><div style="color:#000;background-color:#fff;font-family:lucida console, sans-serif;font-size:13px;"><div id="yiv4098011738yui_3_16_0_ym19_1_1480685546056_46202">Hi,</div><div id="yiv4098011738yui_3_16_0_ym19_1_1480685546056_44371"><br></div><div id="yiv4098011738yui_3_16_0_ym19_1_1480685546056_44337">I have an element that needs, at some point in time after analyzing a number of frames, to do a lengthy processing. Currently it is done in the chain() method, stalling the pipeline, but could be done asynchronously.</div><div id="yiv4098011738yui_3_16_0_ym19_1_1480685546056_44302"><br></div><div id="yiv4098011738yui_3_16_0_ym19_1_1480685546056_44300">Does gstreamer have facilities for launching some task in a separate thread and make the result available to the element once done, all this without having to muck with threads, locks, etc... ?<br></div><div id="yiv4098011738yui_3_16_0_ym19_1_1480685546056_44329"><br></div><div>Cheers,</div><div>Philippe.<br></div><div id="yiv4098011738yui_3_16_0_ym19_1_1480685546056_44299"><br></div></div></div></div><br><br></div> </blockquote> </div> </div>  </div></div></body></html>