<div dir="ltr"><div>I'm afraid I wasn't removing the source with g_source_remove().<br></div><div><br></div><div>Thank you for you help.<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 11 March 2016 at 06:44, Sebastian Dröge <span dir="ltr"><<a href="mailto:sebastian@centricular.com" target="_blank">sebastian@centricular.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Do, 2016-03-10 at 14:49 +0000, Serj TorresSoldado wrote:<br>
> Thank you Prabhakar.<br>
><br>
> I couldn't get it to cleanly close down the server. The following is<br>
> the simplest example I could make to reproduce this.<br>
</span>> [...]<br>
>   gst_rtsp_server_attach(server, NULL);<br>
<br>
attach() is returning a GSource id, which you have to detach/destroy<br>
from the main context again.<br>
<span class=""><br>
> The weird thing I found out is that commenting the gst_init()<br>
> resolves the issue..<br>
<br>
</span>I'm surprised anything works at all then :)<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Sebastian Dröge, Centricular Ltd · <a href="http://www.centricular.com" rel="noreferrer" target="_blank">http://www.centricular.com</a><br>
<br>
</font></span><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>