From: Youness Alaoui Date: Fri, 21 Jun 2013 08:32:30 +0000 (+0200) Subject: rtsp: go back into the loop after doing pause X-Git-Tag: 1.19.3~509^2~5684 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=95906b8f1cd3926b8b673b0cb4f322f7cfa1d5df;p=platform%2Fupstream%2Fgstreamer.git 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 --- 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;