mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 10:25:33 +00:00
client: small cleanup
This commit is contained in:
parent
fb117a4f75
commit
66a29c7ed9
1 changed files with 2 additions and 2 deletions
|
@ -180,8 +180,8 @@ static void
|
|||
client_unlink_session (GstRTSPClient * client, GstRTSPSession * session)
|
||||
{
|
||||
/* unlink all media managed in this session */
|
||||
while (g_list_length (session->medias) > 0) {
|
||||
GstRTSPSessionMedia *media = g_list_first (session->medias)->data;
|
||||
while (session->medias) {
|
||||
GstRTSPSessionMedia *media = session->medias->data;
|
||||
|
||||
gst_rtsp_session_media_set_state (media, GST_STATE_NULL);
|
||||
unlink_session_transports (client, session, media);
|
||||
|
|
Loading…
Reference in a new issue