mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
parent
83ed258684
commit
e19c382bbb
1 changed files with 4 additions and 0 deletions
|
@ -46,6 +46,8 @@ static void gst_rtsp_client_finalize (GObject * obj);
|
||||||
static void client_session_finalized (GstRTSPClient * client,
|
static void client_session_finalized (GstRTSPClient * client,
|
||||||
GstRTSPSession * session);
|
GstRTSPSession * session);
|
||||||
|
|
||||||
|
static void unlink_streams (GstRTSPClient * client);
|
||||||
|
|
||||||
G_DEFINE_TYPE (GstRTSPClient, gst_rtsp_client, G_TYPE_OBJECT);
|
G_DEFINE_TYPE (GstRTSPClient, gst_rtsp_client, G_TYPE_OBJECT);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -99,6 +101,8 @@ gst_rtsp_client_finalize (GObject * obj)
|
||||||
(GWeakNotify) client_session_finalized, client);
|
(GWeakNotify) client_session_finalized, client);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
unlink_streams (client);
|
||||||
|
|
||||||
g_list_free (client->sessions);
|
g_list_free (client->sessions);
|
||||||
|
|
||||||
gst_rtsp_connection_free (client->connection);
|
gst_rtsp_connection_free (client->connection);
|
||||||
|
|
Loading…
Reference in a new issue