changeset 378:6e813c134226

variables related to fbdev moved to cfg-mplayer.h
author szabii
date Thu, 12 Apr 2001 20:37:25 +0000
parents 8ad594a8c94c
children 368f16e72583
files cfg-mplayer.h mplayer.c
diffstat 2 files changed, 8 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/cfg-mplayer.h	Thu Apr 12 17:30:50 2001 +0000
+++ b/cfg-mplayer.h	Thu Apr 12 20:37:25 2001 +0000
@@ -2,6 +2,13 @@
  * config for cfgparser
  */
 
+#ifdef HAVE_FBDEV
+extern char *fb_dev_name;
+extern char *fb_mode_cfgfile;
+extern char *fb_mode_name;
+extern int fb_mode_depth;
+#endif
+
 struct config conf[]={
 	/* name, pointer, type, flags, min, max */
 	{"include", cfg_include, CONF_TYPE_FUNC_PARAM, 0, 0, 0}, /* this must be the first!!! */
@@ -67,3 +74,4 @@
 	{"h", help_text, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0},
 	{NULL, NULL, 0, 0, 0, 0}
 };
+
--- a/mplayer.c	Thu Apr 12 17:30:50 2001 +0000
+++ b/mplayer.c	Thu Apr 12 20:37:25 2001 +0000
@@ -68,13 +68,6 @@
 XMM_PluginSound *pSound=NULL;
 #endif
 
-#ifdef HAVE_FBDEV
-extern char *fb_dev_name;
-extern char *fb_mode_cfgfile;
-extern char *fb_mode_name;
-extern int fb_mode_depth;
-#endif
-
 extern int vo_screenwidth;
 
 extern char* win32_codec_name;  // must be set before calling DrvOpen() !!!