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 40c0586c17
commit 8c5ce0dbdc

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;