rtspsrc: also go into the loop function after connect

When we have opened the stream, go into the loop function so that we can
receive messages from the server.
This commit is contained in:
Wim Taymans 2013-09-27 15:05:04 +02:00
parent 90f482ad3e
commit 10aa7949a5

View file

@ -6971,7 +6971,7 @@ gst_rtspsrc_thread (GstRTSPSrc * src)
GST_OBJECT_LOCK (src);
cmd = src->pending_cmd;
if (cmd == CMD_RECONNECT || cmd == CMD_PLAY || cmd == CMD_PAUSE
|| cmd == CMD_LOOP)
|| cmd == CMD_LOOP || cmd == CMD_OPEN)
src->pending_cmd = CMD_LOOP;
else
src->pending_cmd = CMD_WAIT;