Mercurial > mplayer.hg
changeset 14017:fa9b268b59de
Try port 7070 if 554 fails for realrtsp streams
author | rtognimp |
---|---|
date | Mon, 22 Nov 2004 19:45:55 +0000 |
parents | 2b912d545edd |
children | d16a25713f48 |
files | libmpdemux/network.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/network.c Mon Nov 22 15:32:08 2004 +0000 +++ b/libmpdemux/network.c Mon Nov 22 19:45:55 2004 +0000 @@ -1036,6 +1036,9 @@ 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;