diff options
author | ben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-06-23 20:28:12 +0000 |
---|---|---|
committer | ben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-06-23 20:28:12 +0000 |
commit | 6d9101a25c0f933a29706e9646366d5dec0e3394 (patch) | |
tree | 604e3a0d7b96320b5bec4039cf43974d63ab30a6 /libmpdemux | |
parent | dbfdb7feba4a8c5c42393b622ff97430c0456642 (diff) | |
download | mpv-6d9101a25c0f933a29706e9646366d5dec0e3394.tar.bz2 mpv-6d9101a25c0f933a29706e9646366d5dec0e3394.tar.xz |
prevent most RTSP streams from locking due to -idx
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18800 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r-- | libmpdemux/rtsp.c | 1 |
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); |