changeset 31456:99800c647f77

Add header file for video encoder extern variable declarations.
author diego
date Mon, 21 Jun 2010 17:09:14 +0000
parents 1a6d1a20ac79
children 6e8f3cbab5f4
files cfg-mencoder.h libmpcodecs/ve.h
diffstat 2 files changed, 29 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/cfg-mencoder.h	Mon Jun 21 16:58:42 2010 +0000
+++ b/cfg-mencoder.h	Mon Jun 21 17:09:14 2010 +0000
@@ -27,15 +27,12 @@
 #include "libmpcodecs/ae_lame.h"
 #include "libmpcodecs/ae_toolame.h"
 #include "libmpcodecs/ae_twolame.h"
+#include "libmpcodecs/ve.h"
 #include "libmpcodecs/ve_x264.h"
 #include "libmpdemux/muxer.h"
 #include "libmpdemux/muxer_avi.h"
 #include "cfg-common.h"
 
-extern const m_option_t lavcopts_conf[];
-extern const m_option_t vfwopts_conf[];
-extern const m_option_t xvidencopts_conf[];
-
 const m_option_t ovc_conf[]={
     {"copy", &out_video_codec, CONF_TYPE_FLAG, 0, 0, VCODEC_COPY, NULL},
     {"frameno", &out_video_codec, CONF_TYPE_FLAG, 0, 0, VCODEC_FRAMENO, NULL},
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libmpcodecs/ve.h	Mon Jun 21 17:09:14 2010 +0000
@@ -0,0 +1,28 @@
+/*
+ * 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_VE_H
+#define MPLAYER_VE_H
+
+#include "m_option.h"
+
+extern const m_option_t lavcopts_conf[];
+extern const m_option_t vfwopts_conf[];
+extern const m_option_t xvidencopts_conf[];
+
+#endif /* MPLAYER_VE_H */