Mercurial > mplayer.hg
diff cfg-mplayer.h @ 7664:b10d6345f2a6
Added support for RTSP stream over TCP.
Patch from Ross Finlayson <finlayson@live.com>
author | bertrand |
---|---|
date | Tue, 08 Oct 2002 05:46:23 +0000 |
parents | ce6a938aa6d3 |
children | 33562a65e9e8 |
line wrap: on
line diff
--- a/cfg-mplayer.h Mon Oct 07 22:13:34 2002 +0000 +++ b/cfg-mplayer.h Tue Oct 08 05:46:23 2002 +0000 @@ -90,6 +90,7 @@ #ifdef STREAMING_LIVE_DOT_COM extern int isSDPFile; +extern int rtspStreamOverTCP; #endif #ifdef HAVE_NEW_GUI @@ -302,8 +303,11 @@ #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 ------------------------