projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb117a4
)
client: small cleanup
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Sat, 27 Oct 2012 21:53:35 +0000
(23:53 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Sat, 27 Oct 2012 21:53:35 +0000
(23:53 +0200)
gst/rtsp-server/rtsp-client.c
patch
|
blob
|
history
diff --git
a/gst/rtsp-server/rtsp-client.c
b/gst/rtsp-server/rtsp-client.c
index
d74f6ae
..
7421065
100644
(file)
--- a/
gst/rtsp-server/rtsp-client.c
+++ b/
gst/rtsp-server/rtsp-client.c
@@
-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);