changeset 31379:82fce4fb5049

Add header file for externally used variables from vo_fbdev.c.
author diego
date Thu, 17 Jun 2010 08:38:12 +0000
parents 23e5b1a28984
children 1c540767767e
files cfg-mplayer.h libvo/vo_fbdev.c libvo/vo_fbdev.h
diffstat 3 files changed, 27 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/cfg-mplayer.h	Thu Jun 17 08:33:55 2010 +0000
+++ b/cfg-mplayer.h	Thu Jun 17 08:38:12 2010 +0000
@@ -26,14 +26,12 @@
 #include "cfg-common.h"
 #include "libmpcodecs/vd.h"
 #include "libvo/aspect.h"
+#include "libvo/vo_fbdev.h"
 #include "libvo/vo_zr.h"
 
 extern int key_fifo_size;
 extern unsigned doubleclick_time;
 
-extern char *fb_mode_cfgfile;
-extern char *fb_mode_name;
-
 extern char *lirc_configfile;
 
 extern float vo_panscanrange;
--- a/libvo/vo_fbdev.c	Thu Jun 17 08:33:55 2010 +0000
+++ b/libvo/vo_fbdev.c	Thu Jun 17 08:38:12 2010 +0000
@@ -47,6 +47,7 @@
 #include "aspect.h"
 #include "mp_msg.h"
 #include "libavutil/common.h"
+#include "vo_fbdev.h"
 
 static const vo_info_t info = {
     "Framebuffer Device",
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libvo/vo_fbdev.h	Thu Jun 17 08:38:12 2010 +0000
@@ -0,0 +1,25 @@
+/*
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#ifndef MPLAYER_VO_FBDEV_H
+#define MPLAYER_VO_FBDEV_H
+
+extern char *fb_mode_cfgfile;
+extern char *fb_mode_name;
+
+#endif /* MPLAYER_VO_FBDEV_H */