diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-08-05 00:39:07 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-08-05 00:39:07 +0000 |
commit | fa788640e26698f98070cc01be09dc5071580881 (patch) | |
tree | 3963d1dd69d48ad440e02251286001d90f5fbb01 /cfg-mplayer.h | |
parent | 11bc29e6cc3aaa2a70562f1142609d2800e2f6b9 (diff) | |
download | mpv-fa788640e26698f98070cc01be09dc5071580881.tar.bz2 mpv-fa788640e26698f98070cc01be09dc5071580881.tar.xz |
applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
see <http://www.live.com/mplayer/> for details.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6911 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-mplayer.h')
-rw-r--r-- | cfg-mplayer.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h index 58feb8e245..56272fc3a4 100644 --- a/cfg-mplayer.h +++ b/cfg-mplayer.h @@ -80,6 +80,10 @@ extern int vo_zr_parseoption(struct config * conf, char *opt, char * param); 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 @@ static config_t mplayer_opts[]={ {"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}, |