Mercurial > mplayer.hg
diff cfg-mplayer.h @ 17650:d6e575c86bb8
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@geexbox.org> and Patrick Labatut <plabatut@gmail.com>
author | bertrand |
---|---|
date | Sun, 19 Feb 2006 13:27:27 +0000 |
parents | 3aea4bdfd0d0 |
children | 52f95509cd05 |
line wrap: on
line diff
--- a/cfg-mplayer.h Sun Feb 19 10:15:18 2006 +0000 +++ b/cfg-mplayer.h Sun Feb 19 13:27:27 2006 +0000 @@ -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 ------------------------