summaryrefslogtreecommitdiffstats
path: root/cfg-mencoder.h
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-12-21 22:16:49 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-12-21 22:16:49 +0000
commit57e462a04fe8aec74bb8f625bdfa5d7d2b3e3d46 (patch)
tree614cc4b47c838b09d91f9b75b6219438450b7f24 /cfg-mencoder.h
parentab560e0258c587f44ee05745e9ec49197ab5469d (diff)
downloadmpv-57e462a04fe8aec74bb8f625bdfa5d7d2b3e3d46.tar.bz2
mpv-57e462a04fe8aec74bb8f625bdfa5d7d2b3e3d46.tar.xz
Presets are an easy way, to use hard to access lame options and to give
you optimum quality at average bitrate. This patch adds presets to mencoder for libmp3lame >= 3.92. More info in the sourcecode & at http://www.mp3dev.org/mp3/doc/html/presets.html patch by eviv bulgroz <ebulgroz@yahoo.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8518 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 2e547b8e0b..6b7ad14fa6 100644
--- a/cfg-mencoder.h
+++ b/cfg-mencoder.h
@@ -31,6 +31,10 @@ struct config lameopts_conf[]={
{"br", &lame_param_br, CONF_TYPE_INT, CONF_RANGE, 0, 1024, NULL},
{"ratio", &lame_param_ratio, CONF_TYPE_INT, CONF_RANGE, 0, 100, NULL},
{"vol", &lame_param_scale, CONF_TYPE_FLOAT, CONF_RANGE, 0, 10, NULL},
+#if HAVE_MP3LAME >= 392
+ {"fast", &lame_param_fast, CONF_TYPE_FLAG, 0, 0, 1, NULL},
+ {"preset", &lame_param_preset, CONF_TYPE_STRING, 0, 0, 0, NULL},
+#endif
{"help", "TODO: lameopts help!\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
{NULL, NULL, 0, 0, 0, 0, NULL}
};