diff --git a/cfg-mplayer.h b/cfg-mplayer.h index e01ddac08a..ddc96b67a4 100644 --- a/cfg-mplayer.h +++ b/cfg-mplayer.h @@ -11,6 +11,8 @@ struct config conf[]={ {"dsp", &dsp, CONF_TYPE_STRING, 0, 0, 0}, #ifdef HAVE_FBDEV {"fb", &fb_dev_name, CONF_TYPE_STRING, 0, 0, 0}, + {"fbmode", &fb_mode_name, CONF_TYPE_STRING, 0, 0, 0}, + {"fbmodeconfig", &fb_mode_cfgfile, CONF_TYPE_STRING, 0, 0, 0}, #endif {"encode", &encode_name, CONF_TYPE_STRING, 0, 0, 0}, {"sub", &sub_name, CONF_TYPE_STRING, 0, 0, 0}, diff --git a/mplayer.c b/mplayer.c index 4305e5f3a7..ecc7555d75 100644 --- a/mplayer.c +++ b/mplayer.c @@ -70,6 +70,8 @@ XMM_PluginSound *pSound=NULL; #ifdef HAVE_FBDEV extern char *fb_dev_name; +extern char *fb_mode_cfgfile; +extern char *fb_mode_name; #endif extern int vo_screenwidth;