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:
parent
40c0586c17
commit
8c5ce0dbdc
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user