changeset 7359:7b929a5d753e

GTF update: Fixes "known parametrs" even when fbdev unused patch by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
author arpi
date Tue, 10 Sep 2002 20:40:49 +0000
parents bb40478265df
children 18e1b57616fc
files cfg-mplayer.h
diffstat 1 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/cfg-mplayer.h	Tue Sep 10 20:33:31 2002 +0000
+++ b/cfg-mplayer.h	Tue Sep 10 20:40:49 2002 +0000
@@ -205,13 +205,16 @@
 	    CONF_TYPE_PRINT, 0, 0, 0, NULL},
 #endif
 
+#if defined(HAVE_FBDEV)||defined(HAVE_VESA) 
+       {"monitor_hfreq", &monitor_hfreq_str, CONF_TYPE_STRING, 0, 0, 0, NULL}, 
+       {"monitor_vfreq", &monitor_vfreq_str, CONF_TYPE_STRING, 0, 0, 0, NULL}, 
+       {"monitor_dotclock", &monitor_dotclock_str, CONF_TYPE_STRING, 0, 0, 0, NULL}, 
+#endif 
+
 #ifdef HAVE_FBDEV
 	{"fb", &fb_dev_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
 	{"fbmode", &fb_mode_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
 	{"fbmodeconfig", &fb_mode_cfgfile, CONF_TYPE_STRING, 0, 0, 0, NULL},
-	{"monitor_hfreq", &monitor_hfreq_str, CONF_TYPE_STRING, 0, 0, 0, NULL},
-	{"monitor_vfreq", &monitor_vfreq_str, CONF_TYPE_STRING, 0, 0, 0, NULL},
-	{"monitor_dotclock", &monitor_dotclock_str, CONF_TYPE_STRING, 0, 0, 0, NULL},
 #else
 #ifdef HAVE_DIRECTFB
 	{"fb", &fb_dev_name, CONF_TYPE_STRING, 0, 0, 0, NULL},