# HG changeset patch # User diego # Date 1152190312 0 # Node ID 0726ee266c399497e28c7a52b19d861a8907bb05 # Parent a75437e1223432f831b5baaa606f479cbcf420aa -rtsp-port and -rtsp-destination need to be #ifdef MPLAYER_NETWORK. patch by Gianluigi Tiesi, mplayer**at**netfarm**dot**it diff -r a75437e12234 -r 0726ee266c39 cfg-common.h --- a/cfg-common.h Thu Jul 06 09:21:01 2006 +0000 +++ b/cfg-common.h Thu Jul 06 12:51:52 2006 +0000 @@ -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 --------------------