summaryrefslogtreecommitdiffstats
path: root/cfg-mplayer.h
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-09-10 20:40:49 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-09-10 20:40:49 +0000
commit6f66631ef54173ce18723bc3a7ef1652452f8ce7 (patch)
treeec223d14061b94f848a3ed3e33d8849eff5f1576 /cfg-mplayer.h
parentf9963b5442a2242ec7d0476297cd386729e9e4a4 (diff)
downloadmpv-6f66631ef54173ce18723bc3a7ef1652452f8ce7.tar.bz2
mpv-6f66631ef54173ce18723bc3a7ef1652452f8ce7.tar.xz
GTF update: Fixes "known parametrs" even when fbdev unused
patch by Rudolf Marek <MAREKR2@cs.felk.cvut.cz> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7360 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-mplayer.h')
-rw-r--r--cfg-mplayer.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h
index a25f270ed7..2624797c3b 100644
--- a/cfg-mplayer.h
+++ b/cfg-mplayer.h
@@ -205,13 +205,16 @@ static config_t mplayer_opts[]={
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},