[MPlayer-cvslog] r18925 - trunk/cfg-common.h

diego subversion at mplayerhq.hu
Thu Jul 6 14:51:52 CEST 2006


Author: diego
Date: Thu Jul  6 14:51:52 2006
New Revision: 18925

Modified:
   trunk/cfg-common.h

Log:
-rtsp-port and -rtsp-destination need to be #ifdef MPLAYER_NETWORK.
patch by Gianluigi Tiesi, mplayer**at**netfarm**dot**it


Modified: trunk/cfg-common.h
==============================================================================
--- trunk/cfg-common.h	(original)
+++ trunk/cfg-common.h	Thu Jul  6 14:51:52 2006
@@ -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 --------------------
 



More information about the MPlayer-cvslog mailing list