[MPlayer-cvslog] CVS: main/libmpdemux network.c,1.106,1.107

Roberto Togni CVS syncmail at mplayerhq.hu
Mon Nov 22 20:45:57 CET 2004


CVS change done by Roberto Togni CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv28437

Modified Files:
	network.c 
Log Message:
Try port 7070 if 554 fails for realrtsp streams


Index: network.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/network.c,v
retrieving revision 1.106
retrieving revision 1.107
diff -u -r1.106 -r1.107
--- network.c	21 Nov 2004 12:16:14 -0000	1.106
+++ network.c	22 Nov 2004 19:45:55 -0000	1.107
@@ -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;




More information about the MPlayer-cvslog mailing list