rtspsrc: improve async handling
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 10 Jan 2011 10:45:03 +0000 (11:45 +0100)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Tue, 17 May 2011 09:55:32 +0000 (11:55 +0200)
commit6fe680934ae4f33c46f60478cb7023cea4c6b240
tree4a3839a90c3420c09c7df5e87ecf8159e5fcfac1
parent25132074330af7e52cc4c80cc465385364120f01
rtspsrc: improve async handling

Simplify the command handling, only continue looping when we have not received
another command or when the previous loop was successfull.
Avoid looping on a disconnected socket.
gst/rtsp/gstrtspsrc.c