comparison cfg-common.h @ 18920:0726ee266c39

-rtsp-port and -rtsp-destination need to be #ifdef MPLAYER_NETWORK. patch by Gianluigi Tiesi, mplayer**at**netfarm**dot**it
author diego
date Thu, 06 Jul 2006 12:51:52 +0000
parents 57bb217e71a4
children 9e95ac641e77
comparison
equal deleted inserted replaced
18919:a75437e12234 18920:0726ee266c39
71 // -rtsp-stream-over-tcp option, specifying TCP streaming of RTP/RTCP 71 // -rtsp-stream-over-tcp option, specifying TCP streaming of RTP/RTCP
72 {"rtsp-stream-over-tcp", &rtspStreamOverTCP, CONF_TYPE_FLAG, 0, 0, 1, NULL}, 72 {"rtsp-stream-over-tcp", &rtspStreamOverTCP, CONF_TYPE_FLAG, 0, 0, 1, NULL},
73 #else 73 #else
74 {"rtsp-stream-over-tcp", "RTSP support requires the \"LIVE555 Streaming Media\" libraries.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, 74 {"rtsp-stream-over-tcp", "RTSP support requires the \"LIVE555 Streaming Media\" libraries.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
75 #endif 75 #endif
76 #ifdef MPLAYER_NETWORK
76 {"rtsp-port", &rtsp_port, CONF_TYPE_INT, CONF_RANGE, -1, 65535, NULL}, 77 {"rtsp-port", &rtsp_port, CONF_TYPE_INT, CONF_RANGE, -1, 65535, NULL},
77 {"rtsp-destination", &rtsp_destination, CONF_TYPE_STRING, CONF_MIN, 0, 0, NULL}, 78 {"rtsp-destination", &rtsp_destination, CONF_TYPE_STRING, CONF_MIN, 0, 0, NULL},
79 #else
80 {"rtsp-port", "MPlayer was compiled without network support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
81 {"rtsp-destination", "MPlayer was compiled without network support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
82 #endif
78 83
79 // ------------------------- demuxer options -------------------- 84 // ------------------------- demuxer options --------------------
80 85
81 // number of frames to play/convert 86 // number of frames to play/convert
82 {"frames", &play_n_frames_mf, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL}, 87 {"frames", &play_n_frames_mf, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},