changeset 18797:2e62e3c7402e

prevent most RTSP streams from locking due to -idx
author ben
date Fri, 23 Jun 2006 20:28:12 +0000
parents e79835afe09d
children a738f1e0224f
files libmpdemux/rtsp.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/rtsp.c	Fri Jun 23 20:23:08 2006 +0000
+++ b/libmpdemux/rtsp.c	Fri Jun 23 20:28:12 2006 +0000
@@ -149,6 +149,7 @@
   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);