From 95906b8f1cd3926b8b673b0cb4f322f7cfa1d5df Mon Sep 17 00:00:00 2001 From: Youness Alaoui Date: Fri, 21 Jun 2013 10:32:30 +0200 Subject: [PATCH] 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 --- gst/rtsp/gstrtspsrc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index d751d8d..0420ccf 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -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; -- 2.7.4