summaryrefslogtreecommitdiffstats
path: root/cfg-mencoder.h
diff options
context:
space:
mode:
authorkmkaplan <kmkaplan@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-09-21 12:41:29 +0000
committerkmkaplan <kmkaplan@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-09-21 12:41:29 +0000
commit32e6696306cce4b6ca706796890c58160a11455c (patch)
tree73bd15714d18573a6389b3db5cf0a15051aad0dd /cfg-mencoder.h
parent40bd44670e2b2ca11a00124aa21c8357351fa8c4 (diff)
downloadmpv-32e6696306cce4b6ca706796890c58160a11455c.tar.bz2
mpv-32e6696306cce4b6ca706796890c58160a11455c.tar.xz
Support for XviD encoding
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7458 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-mencoder.h')
-rw-r--r--cfg-mencoder.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/cfg-mencoder.h b/cfg-mencoder.h
index 36319a05a4..d067a4c654 100644
--- a/cfg-mencoder.h
+++ b/cfg-mencoder.h
@@ -45,6 +45,10 @@ extern struct config lavcopts_conf[];
extern struct config vfwopts_conf[];
#endif
+#ifdef HAVE_XVID
+extern struct config xvidencopts_conf[];
+#endif
+
struct config 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},
@@ -55,6 +59,7 @@ struct config ovc_conf[]={
{"rawrgb", &out_video_codec, CONF_TYPE_FLAG, 0, 0, VCODEC_RAWRGB, NULL},
{"vfw", &out_video_codec, CONF_TYPE_FLAG, 0, 0, VCODEC_VFW, NULL},
{"libdv", &out_video_codec, CONF_TYPE_FLAG, 0, 0, VCODEC_LIBDV, NULL},
+ {"xvid", &out_video_codec, CONF_TYPE_FLAG, 0, 0, VCODEC_XVID, NULL},
{"help", "\nAvailable codecs:\n"
" copy - frame copy, without re-encoding. doesn't work with filters!\n"
" frameno - special audio-only file for 3-pass encoding, see DOCS!\n"
@@ -71,6 +76,9 @@ struct config ovc_conf[]={
#ifdef HAVE_LIBDV095
" libdv - DV encoding using libdv v0.9.5\n"
#endif
+#ifdef HAVE_XVID
+ " xvid\n"
+#endif
"\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
{NULL, NULL, 0, 0, 0, 0, NULL}
};
@@ -165,6 +173,9 @@ static config_t mencoder_opts[]={
#ifdef USE_WIN32DLL
{"vfwopts", vfwopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
#endif
+#ifdef HAVE_XVID
+ {"xvidencopts", xvidencopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
+#endif
#define MAIN_CONF
#include "cfg-common.h"