diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-06 12:51:52 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-06 12:51:52 +0000 |
commit | 314e68f0953817744e9a37238b1becc299ed13fe (patch) | |
tree | 2ed3787ef71203c16ee75ddce9b7d36dd6102a14 /cfg-common.h | |
parent | 6891702ff9417e818213f170b458901a06efd546 (diff) | |
download | mpv-314e68f0953817744e9a37238b1becc299ed13fe.tar.bz2 mpv-314e68f0953817744e9a37238b1becc299ed13fe.tar.xz |
-rtsp-port and -rtsp-destination need to be #ifdef MPLAYER_NETWORK.
patch by Gianluigi Tiesi, mplayer**at**netfarm**dot**it
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18925 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-common.h')
-rw-r--r-- | cfg-common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cfg-common.h b/cfg-common.h index 484cb38f23..9b388e5f8d 100644 --- a/cfg-common.h +++ b/cfg-common.h @@ -73,8 +73,13 @@ #else {"rtsp-stream-over-tcp", "RTSP support requires the \"LIVE555 Streaming Media\" libraries.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, #endif +#ifdef MPLAYER_NETWORK {"rtsp-port", &rtsp_port, CONF_TYPE_INT, CONF_RANGE, -1, 65535, NULL}, {"rtsp-destination", &rtsp_destination, CONF_TYPE_STRING, CONF_MIN, 0, 0, NULL}, +#else + {"rtsp-port", "MPlayer was compiled without network support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, + {"rtsp-destination", "MPlayer was compiled without network support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, +#endif // ------------------------- demuxer options -------------------- |