From: Wim Taymans Date: Thu, 10 Jul 2014 15:10:06 +0000 (+0200) Subject: server: implement client REMOVE filter X-Git-Tag: 1.19.3~495^2~765 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ecde0051db71d97cf8e1b67a16280644c106806a;p=platform%2Fupstream%2Fgstreamer.git server: implement client REMOVE filter --- diff --git a/gst/rtsp-server/rtsp-server.c b/gst/rtsp-server/rtsp-server.c index 84a7d50..686ba03 100644 --- a/gst/rtsp-server/rtsp-server.c +++ b/gst/rtsp-server/rtsp-server.c @@ -1404,7 +1404,12 @@ restart: switch (res) { case GST_RTSP_FILTER_REMOVE: - /* remove client, FIXME */ + GST_RTSP_SERVER_UNLOCK (server); + + gst_rtsp_client_close (client); + + GST_RTSP_SERVER_LOCK (server); + changed |= (cookie != priv->clients_cookie); break; case GST_RTSP_FILTER_REF: result = g_list_prepend (result, g_object_ref (client));