summaryrefslogtreecommitdiffstats
path: root/cfg-mencoder.h
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-22 16:59:10 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-22 16:59:10 +0000
commitb0d44057933b7efdfcf0e2657bb7622e0904e188 (patch)
tree9354672cf3e3b8f2bfb42403786e49ba1a8dee24 /cfg-mencoder.h
parent838f822d6de86ae6eacb2a1293d9048753b7c59f (diff)
downloadmpv-b0d44057933b7efdfcf0e2657bb7622e0904e188.tar.bz2
mpv-b0d44057933b7efdfcf0e2657bb7622e0904e188.tar.xz
made divx4 optional (also configure checking needed) and added avcodec_close
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3664 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-mencoder.h')
-rw-r--r--cfg-mencoder.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cfg-mencoder.h b/cfg-mencoder.h
index 36130e72db..2e564db7c6 100644
--- a/cfg-mencoder.h
+++ b/cfg-mencoder.h
@@ -13,6 +13,7 @@ extern int use_old_pp;
extern int sws_flags;
+#ifdef HAVE_DIVX4ENCORE
struct config divx4opts_conf[]={
{"br", &divx4_param.bitrate, CONF_TYPE_INT, CONF_RANGE, 4, 24000000},
{"rc_period", &divx4_param.rc_period, CONF_TYPE_INT, 0,0,0},
@@ -27,6 +28,7 @@ struct config divx4opts_conf[]={
{"help", "TODO: divx4opts help!\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0},
{NULL, NULL, 0, 0, 0, 0}
};
+#endif
#ifdef HAVE_MP3LAME
struct config lameopts_conf[]={
@@ -102,10 +104,12 @@ struct config conf[]={
{"ffourcc", &force_fourcc, CONF_TYPE_STRING, 0, 4, 4},
+#ifdef HAVE_DIVX4ENCORE
{"pass", &pass, CONF_TYPE_INT, CONF_RANGE,0,2},
{"passlogfile", &passtmpfile, CONF_TYPE_STRING, 0, 0, 0},
{"divx4opts", divx4opts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0},
+#endif
#ifdef HAVE_MP3LAME
{"lameopts", lameopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0},
#endif