Mercurial > mplayer.hg
diff cfg-mplayer.h @ 6910:1a747aee653b
applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
see <http://www.live.com/mplayer/> for details.
author | arpi |
---|---|
date | Mon, 05 Aug 2002 00:39:07 +0000 |
parents | c5e08b7c048c |
children | e37a67d5e117 |
line wrap: on
line diff
--- a/cfg-mplayer.h Mon Aug 05 00:27:26 2002 +0000 +++ b/cfg-mplayer.h Mon Aug 05 00:39:07 2002 +0000 @@ -80,6 +80,10 @@ extern void vo_zr_revertoption(config_t* opt,char* pram); #endif +#ifdef STREAMING_LIVE_DOT_COM +extern int isSDPFile; +#endif + #ifdef HAVE_NEW_GUI extern char * skinName; #endif @@ -276,6 +280,13 @@ {"zr*", vo_zr_parseoption, CONF_TYPE_FUNC_FULL, 0, 0, 0, &vo_zr_revertoption }, #endif +#ifdef STREAMING_LIVE_DOT_COM + // -sdp option, specifying that the source is a SDP file + {"sdp", &isSDPFile, 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}, +#endif + //---------------------- mplayer-only options ------------------------ {"osdlevel", &osd_level, CONF_TYPE_INT, CONF_RANGE, 0, 2 , NULL},