diff options
author | bertrand <bertrand@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-02-19 13:27:27 +0000 |
---|---|---|
committer | bertrand <bertrand@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-02-19 13:27:27 +0000 |
commit | 52dd75e903d5c5d0424128fc813a00cc1d1fc36d (patch) | |
tree | fcf34096e7d6b17a9383ad8200f6747e0dd6f925 /cfg-mplayer.h | |
parent | 2919230676e19f73d6cfa12cbbef429d395ae8e7 (diff) | |
download | mpv-52dd75e903d5c5d0424128fc813a00cc1d1fc36d.tar.bz2 mpv-52dd75e903d5c5d0424128fc813a00cc1d1fc36d.tar.xz |
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>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17651 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-mplayer.h')
-rw-r--r-- | cfg-mplayer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h index def74a24b9..10ca937753 100644 --- a/cfg-mplayer.h +++ b/cfg-mplayer.h @@ -86,6 +86,7 @@ extern m_option_t dxr2_opts[]; #ifdef STREAMING_LIVE555 extern int isSDPFile; extern int rtspStreamOverTCP; +extern int rtsp_port; #endif #ifdef HAVE_NEW_GUI @@ -296,8 +297,10 @@ m_option_t mplayer_opts[]={ {"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 ------------------------ |