mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
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
1 changed files with 2 additions and 1 deletions
|
@ -6809,7 +6809,8 @@ gst_rtspsrc_thread (GstRTSPSrc * src)
|
||||||
|
|
||||||
GST_OBJECT_LOCK (src);
|
GST_OBJECT_LOCK (src);
|
||||||
cmd = src->pending_cmd;
|
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;
|
src->pending_cmd = CMD_LOOP;
|
||||||
else
|
else
|
||||||
src->pending_cmd = CMD_WAIT;
|
src->pending_cmd = CMD_WAIT;
|
||||||
|
|
Loading…
Reference in a new issue