Mercurial > mplayer.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
7663:eb3afb162aa4 | 7664:b10d6345f2a6 |
---|---|
88 extern void vo_zr_revertoption(config_t* opt,char* pram); | 88 extern void vo_zr_revertoption(config_t* opt,char* pram); |
89 #endif | 89 #endif |
90 | 90 |
91 #ifdef STREAMING_LIVE_DOT_COM | 91 #ifdef STREAMING_LIVE_DOT_COM |
92 extern int isSDPFile; | 92 extern int isSDPFile; |
93 extern int rtspStreamOverTCP; | |
93 #endif | 94 #endif |
94 | 95 |
95 #ifdef HAVE_NEW_GUI | 96 #ifdef HAVE_NEW_GUI |
96 extern char * skinName; | 97 extern char * skinName; |
97 #endif | 98 #endif |
300 #endif | 301 #endif |
301 | 302 |
302 #ifdef STREAMING_LIVE_DOT_COM | 303 #ifdef STREAMING_LIVE_DOT_COM |
303 // -sdp option, specifying that the source is a SDP file | 304 // -sdp option, specifying that the source is a SDP file |
304 {"sdp", &isSDPFile, CONF_TYPE_FLAG, 0, 0, 1, NULL}, | 305 {"sdp", &isSDPFile, CONF_TYPE_FLAG, 0, 0, 1, NULL}, |
306 // -rtsp-stream-over-tcp option, specifying TCP streaming of RTP/RTCP | |
307 {"rtsp-stream-over-tcp", &rtspStreamOverTCP, CONF_TYPE_FLAG, 0, 0, 1, NULL}, | |
305 #else | 308 #else |
306 {"sdp", "MPlayer was compiled WITHOUT the \"LIVE.COM Streaming Media\" libraries!\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, | 309 {"sdp", "SDP file support requires the \"LIVE.COM Streaming Media\" libraries!\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, |
310 {"rtsp-stream-over-tcp", "RTSP support requires the \"LIVE.COM Streaming Media\" libraries!\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, | |
307 #endif | 311 #endif |
308 | 312 |
309 //---------------------- mplayer-only options ------------------------ | 313 //---------------------- mplayer-only options ------------------------ |
310 | 314 |
311 {"osdlevel", &osd_level, CONF_TYPE_INT, CONF_RANGE, 0, 2 , NULL}, | 315 {"osdlevel", &osd_level, CONF_TYPE_INT, CONF_RANGE, 0, 2 , NULL}, |