rtsp-client: changed session media iteration
authorDavid Svensson Fors <davidsf@axis.com>
Tue, 12 Jun 2012 12:33:35 +0000 (14:33 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 14 Jun 2012 08:14:06 +0000 (10:14 +0200)
commit8f5d82be6d3c185524507d3509db5adc0179da9e
treee45e65c3a407816049f9614af21fde18cb46cde9
parentdc796bf075abbec437cb50a2a8383a7e3f04c532
rtsp-client: changed session media iteration

In client_unlink_session: now don't iterate in session->medias
list where items are removed by gst_rtsp_session_release_media.
Instead, repeatedly remove the first item.
gst/rtsp-server/rtsp-client.c