rtspserver how to dispose correctly
Serj TorresSoldado
torres.soldado at gmail.com
Fri Mar 11 09:55:32 UTC 2016
I'm afraid I wasn't removing the source with g_source_remove().
Thank you for you help.
On 11 March 2016 at 06:44, Sebastian Dröge <sebastian at centricular.com>
wrote:
> On Do, 2016-03-10 at 14:49 +0000, Serj TorresSoldado wrote:
> > Thank you Prabhakar.
> >
> > I couldn't get it to cleanly close down the server. The following is
> > the simplest example I could make to reproduce this.
> > [...]
> > gst_rtsp_server_attach(server, NULL);
>
> attach() is returning a GSource id, which you have to detach/destroy
> from the main context again.
>
> > The weird thing I found out is that commenting the gst_init()
> > resolves the issue..
>
> I'm surprised anything works at all then :)
>
> --
> Sebastian Dröge, Centricular Ltd · http://www.centricular.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/20160311/31049f33/attachment.html>
More information about the gstreamer-devel
mailing list