From fa788640e26698f98070cc01be09dc5071580881 Mon Sep 17 00:00:00 2001 From: arpi Date: Mon, 5 Aug 2002 00:39:07 +0000 Subject: applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson see for details. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6911 b3059339-0415-0410-9bf9-f77b7e298cf2 --- cfg-mplayer.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'cfg-mplayer.h') 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}, -- cgit v1.2.3