mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 10:25:33 +00:00
srtserversrc: Emit client-closed signal in _stop()
... instead of client-added https://bugzilla.gnome.org/show_bug.cgi?id=796842
This commit is contained in:
parent
f5de8db140
commit
d8015586b5
1 changed files with 1 additions and 1 deletions
|
@ -380,7 +380,7 @@ gst_srt_server_src_stop (GstBaseSrc * src)
|
||||||
GstSRTServerSrcPrivate *priv = GST_SRT_SERVER_SRC_GET_PRIVATE (self);
|
GstSRTServerSrcPrivate *priv = GST_SRT_SERVER_SRC_GET_PRIVATE (self);
|
||||||
|
|
||||||
if (priv->client_sock != SRT_INVALID_SOCK) {
|
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);
|
priv->client_sock, priv->client_sockaddr);
|
||||||
srt_close (priv->client_sock);
|
srt_close (priv->client_sock);
|
||||||
g_clear_object (&priv->client_sockaddr);
|
g_clear_object (&priv->client_sockaddr);
|
||||||
|
|
Loading…
Reference in a new issue