rtspsrc: fix TCP reconnect
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 13 Dec 2012 08:27:14 +0000 (09:27 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 13 Dec 2012 08:30:59 +0000 (09:30 +0100)
commita858bf46db860965089611674bfc43289830b646
tree6686a35495a7c1ed0f7bce25861cc0d1329e8220
parentfc81ddc8eeb37859be6ca3721709c636b9d2a20b
rtspsrc: fix TCP reconnect

Ignore other commands when reconnecting, otherwise the loop function would pause
and the reconnection would not happen. Continue looping after doing a reconnect
so that we have a chance to actually read the new data.
gst/rtsp/gstrtspsrc.c