summaryrefslogtreecommitdiffstats
path: root/cfg-mplayer.h
diff options
context:
space:
mode:
authorbertrand <bertrand@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-10-08 05:46:23 +0000
committerbertrand <bertrand@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-10-08 05:46:23 +0000
commitf767a62a4291dd41ff68fe8e6277f24443ff827d (patch)
treef91e43e2bef3384a63b888ce69dd58e3c3ca9f74 /cfg-mplayer.h
parentfeec550941d1cf12d88cac2c5209f28a09cd8ba7 (diff)
downloadmpv-f767a62a4291dd41ff68fe8e6277f24443ff827d.tar.bz2
mpv-f767a62a4291dd41ff68fe8e6277f24443ff827d.tar.xz
Added support for RTSP stream over TCP.
Patch from Ross Finlayson <finlayson@live.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7665 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-mplayer.h')
-rw-r--r--cfg-mplayer.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h
index 0c6d38772a..e675fd9059 100644
--- a/cfg-mplayer.h
+++ b/cfg-mplayer.h
@@ -90,6 +90,7 @@ extern void vo_zr_revertoption(config_t* opt,char* pram);
#ifdef STREAMING_LIVE_DOT_COM
extern int isSDPFile;
+extern int rtspStreamOverTCP;
#endif
#ifdef HAVE_NEW_GUI
@@ -302,8 +303,11 @@ static config_t mplayer_opts[]={
#ifdef STREAMING_LIVE_DOT_COM
// -sdp option, specifying that the source is a SDP file
{"sdp", &isSDPFile, CONF_TYPE_FLAG, 0, 0, 1, NULL},
+ // -rtsp-stream-over-tcp option, specifying TCP streaming of RTP/RTCP
+ {"rtsp-stream-over-tcp", &rtspStreamOverTCP, CONF_TYPE_FLAG, 0, 0, 1, NULL},
#else
- {"sdp", "MPlayer was compiled WITHOUT the \"LIVE.COM Streaming Media\" libraries!\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
+ {"sdp", "SDP file support requires the \"LIVE.COM Streaming Media\" libraries!\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
+ {"rtsp-stream-over-tcp", "RTSP support requires the \"LIVE.COM Streaming Media\" libraries!\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
#endif
//---------------------- mplayer-only options ------------------------