<html><body><div style="color:#000; background-color:#fff; font-family:lucida console, sans-serif;font-size:13px"><div id="yui_3_16_0_1_1443689137323_34147"><span id="yui_3_16_0_1_1443689137323_34280">That would explain the deadlock while destroying the windows.</span></div><div id="yui_3_16_0_1_1443689137323_34189"><span id="yui_3_16_0_1_1443689137323_34209"><br></span></div><div><span id="yui_3_16_0_1_1443689137323_34209">But the destroy should not happen as the sink does not own the window.</span></div><div id="yui_3_16_0_1_1443689137323_34293"><span id="yui_3_16_0_1_1443689137323_34209">The windows is created and owned by my Qt application. So Qt is probably doing stuff with it (like un-pressing the button that triggered the pipeline state change in the first place.</span></div><div id="yui_3_16_0_1_1443689137323_34279"><br><span id="yui_3_16_0_1_1443689137323_34209"></span></div><div id="yui_3_16_0_1_1443689137323_34268" dir="ltr"><span id="yui_3_16_0_1_1443689137323_34209">If the destroy did succeed, I would not be too happy as it would take my app down ;)</span></div><div id="yui_3_16_0_1_1443689137323_34294" dir="ltr"><br><span id="yui_3_16_0_1_1443689137323_34209"></span></div><div id="yui_3_16_0_1_1443689137323_34295" dir="ltr"><span id="yui_3_16_0_1_1443689137323_34209">I think some resize lead to a similar deadlock because the sink tries to mess with the windows, that it does not own, and this behind the back to the Qt app that does own it.</span></div>  <br><div id="yui_3_16_0_1_1443689137323_34167" class="qtdSeparateBR"><br><br></div><div style="display: block;" id="yui_3_16_0_1_1443689137323_34166" class="yahoo_quoted"> <div id="yui_3_16_0_1_1443689137323_34165" style="font-family: lucida console, sans-serif; font-size: 13px;"> <div id="yui_3_16_0_1_1443689137323_34164" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div id="yui_3_16_0_1_1443689137323_34269" dir="ltr"> <font id="yui_3_16_0_1_1443689137323_34270" face="Arial" size="2"> Le Lundi 5 octobre 2015 13h24, Nicolas Dufresne <nicolas.dufresne@collabora.com> a écrit :<br> </font> </div> <blockquote id="yui_3_16_0_1_1443689137323_34163" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">  <br><br> <div id="yui_3_16_0_1_1443689137323_34162" class="y_msg_container">Le lundi 05 octobre 2015 à 11:07 +0000, philippe renon a écrit :<br clear="none">> Other sinks, like the d3d image sink for instance, have a boolean<br clear="none">> flag that make it explicit whether the sink owns the windows (and<br clear="none">> can/should destroy it, etc...) or not.<br clear="none"><br clear="none">I'm not sure this is related. On Windows, there is certain operation<br clear="none">that leads to deadlock if the you are currently destroying the window<br clear="none">(regardless if it's GStreamer of your application doing so). This seems<br clear="none">to be the case if a resize, a key or a mouse event is received during<br clear="none">that moment. We could not find the details from the documentation.<div class="yqt8451537314" id="yqtfd22169"><br clear="none"><br clear="none">Nicolas</div><br><br></div> </blockquote>  </div> </div>   </div></div></body></html>