rtsp: go back into the loop after doing pause
After we do a pause request, go back to loop mode so that we can listen for server messages again. See https://bugzilla.gnome.org/show_bug.cgi?id=702705
This commit is contained in:
parent
2cd6f53e24
commit
95906b8f1c
@ -6809,7 +6809,8 @@ gst_rtspsrc_thread (GstRTSPSrc * src)
|
||||
|
||||
GST_OBJECT_LOCK (src);
|
||||
cmd = src->pending_cmd;
|
||||
if (cmd == CMD_RECONNECT || cmd == CMD_PLAY || cmd == CMD_LOOP)
|
||||
if (cmd == CMD_RECONNECT || cmd == CMD_PLAY || cmd == CMD_PAUSE
|
||||
|| cmd == CMD_LOOP)
|
||||
src->pending_cmd = CMD_LOOP;
|
||||
else
|
||||
src->pending_cmd = CMD_WAIT;
|
||||
|
Loading…
x
Reference in New Issue
Block a user