From 6f66631ef54173ce18723bc3a7ef1652452f8ce7 Mon Sep 17 00:00:00 2001 From: arpi Date: Tue, 10 Sep 2002 20:40:49 +0000 Subject: [PATCH] GTF update: Fixes "known parametrs" even when fbdev unused patch by Rudolf Marek git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7360 b3059339-0415-0410-9bf9-f77b7e298cf2 --- cfg-mplayer.h | 9 ++++++--- 1 file 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},