From: Seungha Yang Date: Wed, 25 Jul 2018 08:36:03 +0000 (+0900) Subject: srtserversrc: Emit client-closed signal in _stop() X-Git-Tag: 1.19.3~507^2~4043 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d8015586b55a67561f390c32a1121f165a511278;p=platform%2Fupstream%2Fgstreamer.git srtserversrc: Emit client-closed signal in _stop() ... instead of client-added https://bugzilla.gnome.org/show_bug.cgi?id=796842 --- diff --git a/ext/srt/gstsrtserversrc.c b/ext/srt/gstsrtserversrc.c index a9e5d85..cfb26ba 100644 --- a/ext/srt/gstsrtserversrc.c +++ b/ext/srt/gstsrtserversrc.c @@ -380,7 +380,7 @@ gst_srt_server_src_stop (GstBaseSrc * src) GstSRTServerSrcPrivate *priv = GST_SRT_SERVER_SRC_GET_PRIVATE (self); if (priv->client_sock != SRT_INVALID_SOCK) { - g_signal_emit (self, signals[SIG_CLIENT_ADDED], 0, + g_signal_emit (self, signals[SIG_CLIENT_CLOSED], 0, priv->client_sock, priv->client_sockaddr); srt_close (priv->client_sock); g_clear_object (&priv->client_sockaddr);