[MPlayer-cvslog] CVS: main cfg-mplayer.h,1.256,1.257

Bertrand Baudet syncmail at mplayerhq.hu
Sun Feb 19 14:27:28 CET 2006


CVS change done by Bertrand Baudet

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

Modified Files:
	cfg-mplayer.h 
Log Message:
Allows the LIVE555 library to forces the client's port to be used
when reading from an RTP/RTSP source.

Patch from Benjamin Zores <ben at geexbox.org> and Patrick Labatut <plabatut at gmail.com>


Index: cfg-mplayer.h
===================================================================
RCS file: /cvsroot/mplayer/main/cfg-mplayer.h,v
retrieving revision 1.256
retrieving revision 1.257
diff -u -r1.256 -r1.257
--- cfg-mplayer.h	11 Dec 2005 18:05:23 -0000	1.256
+++ cfg-mplayer.h	19 Feb 2006 13:27:26 -0000	1.257
@@ -86,6 +86,7 @@
 #ifdef STREAMING_LIVE555
 extern int isSDPFile;
 extern int rtspStreamOverTCP;
+extern int rtsp_port;
 #endif
 
 #ifdef HAVE_NEW_GUI
@@ -296,8 +297,10 @@
         {"sdp", "-sdp is obsolete, use sdp://file instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
 	// -rtsp-stream-over-tcp option, specifying TCP streaming of RTP/RTCP
         {"rtsp-stream-over-tcp", &rtspStreamOverTCP, CONF_TYPE_FLAG, 0, 0, 1, NULL},
+        {"rtsp-port", &rtsp_port, CONF_TYPE_INT, CONF_RANGE, -1, 65535, NULL},
 #else
 	{"rtsp-stream-over-tcp", "RTSP support requires the \"LIVE555 Streaming Media\" libraries.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
+        {"rtsp-port", "RTSP support requires the \"LIVE555 Streaming Media\" libraries.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
 #endif
 
 //---------------------- mplayer-only options ------------------------




More information about the MPlayer-cvslog mailing list