# HG changeset patch # User ben # Date 1151094492 0 # Node ID 2e62e3c7402e3d3518cb1ddd35c16a97b9b740a0 # Parent e79835afe09dc635ca5361c6274b8f5a0504f021 prevent most RTSP streams from locking due to -idx diff -r e79835afe09d -r 2e62e3c7402e libmpdemux/rtsp.c --- 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);