# HG changeset patch # User diego # Date 1277140154 0 # Node ID 99800c647f773c78a62aeeb9e3ea48694dc3d42b # Parent 1a6d1a20ac797ea7f6ccac81f16594cb61a42e05 Add header file for video encoder extern variable declarations. diff -r 1a6d1a20ac79 -r 99800c647f77 cfg-mencoder.h --- 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}, diff -r 1a6d1a20ac79 -r 99800c647f77 libmpcodecs/ve.h --- /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 */