From 8c5ce0dbdc038abafd6afcfb693385c0ce4a1e09 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 27 Sep 2013 15:05:04 +0200 Subject: [PATCH] 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. --- gst/rtsp/gstrtspsrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index 0f3a0e6..7716274 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -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; -- 2.7.4