diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-04-18 11:06:35 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-04-18 11:06:35 +0000 |
commit | b7942efd63b9c238e2cb5c4bed36866314654c19 (patch) | |
tree | 361eab05ec86bce64c6d5b5a4b34c1ef5fa1fc96 /cfg-common.h | |
parent | 1dca024357a7404f58dff63718113b76219f6baa (diff) | |
download | mpv-b7942efd63b9c238e2cb5c4bed36866314654c19.tar.bz2 mpv-b7942efd63b9c238e2cb5c4bed36866314654c19.tar.xz |
rtsp options should be available for mencoder as well
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18136 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-common.h')
-rw-r--r-- | cfg-common.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cfg-common.h b/cfg-common.h index a2f54ddda4..a32d626011 100644 --- a/cfg-common.h +++ b/cfg-common.h @@ -71,6 +71,15 @@ {"user-agent", "MPlayer was compiled without streaming (network) support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, #endif +#ifdef STREAMING_LIVE555 + {"sdp", "-sdp is obsolete, use sdp://file instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL}, + // -rtsp-stream-over-tcp option, specifying TCP streaming of RTP/RTCP + {"rtsp-stream-over-tcp", &rtspStreamOverTCP, CONF_TYPE_FLAG, 0, 0, 1, NULL}, + {"rtsp-port", &rtsp_port, CONF_TYPE_INT, CONF_RANGE, -1, 65535, NULL}, +#else + {"rtsp-stream-over-tcp", "RTSP support requires the \"LIVE555 Streaming Media\" libraries.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, + {"rtsp-port", "RTSP support requires the \"LIVE555 Streaming Media\" libraries.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, +#endif // ------------------------- demuxer options -------------------- @@ -414,6 +423,11 @@ extern char *fribidi_charset; extern int flip_hebrew; #endif +#ifdef STREAMING_LIVE555 +extern int rtspStreamOverTCP; +extern int rtsp_port; +#endif + extern int audio_stream_cache; |