summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libmpdemux/rtsp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmpdemux/rtsp.c b/libmpdemux/rtsp.c
index 61586ae3cd..adc857da1e 100644
--- a/libmpdemux/rtsp.c
+++ b/libmpdemux/rtsp.c
@@ -149,6 +149,7 @@ rtsp_streaming_open (stream_t *stream, int mode, void *opts, int *file_format)
stream->streaming_ctrl->url = check4proxies (url);
stream->fd = -1;
+ index_mode = -1; /* prevent most RTSP streams from locking due to -idx */
if (rtsp_streaming_start (stream) < 0)
{
streaming_ctrl_free (stream->streaming_ctrl);