changeset 3260:80e1e29e71e7

-vcd prints message if not supported
author arpi
date Sat, 01 Dec 2001 23:39:47 +0000
parents 534bb7907464
children caac174877b7
files cfg-common.h
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/cfg-common.h	Sat Dec 01 23:38:57 2001 +0000
+++ b/cfg-common.h	Sat Dec 01 23:39:47 2001 +0000
@@ -6,7 +6,11 @@
 #else
 	{"cache", "MPlayer was compiled WITHOUT cache2 support", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0},
 #endif
+#ifdef HAVE_VCD
 	{"vcd", &vcd_track, CONF_TYPE_INT, CONF_RANGE, 1, 99},
+#else
+	{"vcd", "VCD support is NOT available on this system!\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0},
+#endif
 #ifdef USE_DVDREAD
 	{"dvd", &dvd_title, CONF_TYPE_INT, CONF_RANGE, 1, 99},
 	{"dvdangle", &dvd_angle, CONF_TYPE_INT, CONF_RANGE, 1, 99},