summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authorrtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-11-22 19:45:55 +0000
committerrtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-11-22 19:45:55 +0000
commit8500fffcb6c10b65b1d85efe3d7248b8168cb0a9 (patch)
treeb490b400fa644803c0091c1c6793a7d634fca4db /libmpdemux
parent3533bc959c373c41351730b308cfbe561ed5529d (diff)
downloadmpv-8500fffcb6c10b65b1d85efe3d7248b8168cb0a9.tar.bz2
mpv-8500fffcb6c10b65b1d85efe3d7248b8168cb0a9.tar.xz
Try port 7070 if 554 fails for realrtsp streams
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14018 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/network.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libmpdemux/network.c b/libmpdemux/network.c
index b25567b2b7..c5662840c1 100644
--- a/libmpdemux/network.c
+++ b/libmpdemux/network.c
@@ -1036,6 +1036,9 @@ realrtsp_streaming_start( stream_t *stream ) {
fd = connect2Server( stream->streaming_ctrl->url->hostname,
port = (stream->streaming_ctrl->url->port ? stream->streaming_ctrl->url->port : 554),1 );
+ if(fd<0 && !stream->streaming_ctrl->url->port)
+ fd = connect2Server( stream->streaming_ctrl->url->hostname,
+ port = 7070, 1 );
if(fd<0) return -1;
file = stream->streaming_ctrl->url->file;