mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-02 14:20:06 +00:00
server: start and stop multiple times
Stop listening on the RTSP port when the GSource is removed, so clients can't connect and the server can be started again. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=688395
This commit is contained in:
parent
8a7197f078
commit
0eeb4a5c73
1 changed files with 2 additions and 0 deletions
|
@ -1076,6 +1076,8 @@ static void
|
|||
watch_destroyed (GstRTSPServer * server)
|
||||
{
|
||||
GST_DEBUG_OBJECT (server, "source destroyed");
|
||||
g_object_unref (server->socket);
|
||||
server->socket = NULL;
|
||||
g_object_unref (server);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue