summaryrefslogtreecommitdiffstats
path: root/cfg-mencoder.h
diff options
context:
space:
mode:
authornicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-09-21 19:50:54 +0000
committernicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-09-21 19:50:54 +0000
commitdb4e77d0a5e33da13927d805f69c870082d26ee4 (patch)
tree78750a53966b98c851c3e94b80b75fcba1e59859 /cfg-mencoder.h
parent91413c4747b34c08108facafcee031068af967d5 (diff)
downloadmpv-db4e77d0a5e33da13927d805f69c870082d26ee4.tar.bz2
mpv-db4e77d0a5e33da13927d805f69c870082d26ee4.tar.xz
encoding to mp2 with libtoolame
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13427 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-mencoder.h')
-rw-r--r--cfg-mencoder.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/cfg-mencoder.h b/cfg-mencoder.h
index 0d158f9b3a..d0ec47be12 100644
--- a/cfg-mencoder.h
+++ b/cfg-mencoder.h
@@ -55,6 +55,10 @@ m_option_t lameopts_conf[]={
extern m_option_t lavcopts_conf[];
#endif
+#ifdef HAVE_TOOLAME
+extern m_option_t toolameopts_conf[];
+#endif
+
#ifdef USE_WIN32DLL
extern m_option_t vfwopts_conf[];
#endif
@@ -128,6 +132,11 @@ m_option_t oac_conf[]={
#else
{"lavc", "MPlayer was compiled without libavcodec. See README or DOCS.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
#endif
+#ifdef HAVE_TOOLAME
+ {"toolame", &out_audio_codec, CONF_TYPE_FLAG, 0, 0, ACODEC_TOOLAME, NULL},
+#else
+ {"toolame", "MPlayer was compiled without libtoolame. See README or DOCS.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
+#endif
{"help", "\nAvailable codecs:\n"
" copy - frame copy, without re-encoding (useful for AC3)\n"
" pcm - uncompressed PCM audio\n"
@@ -137,6 +146,9 @@ m_option_t oac_conf[]={
#ifdef USE_LIBAVCODEC
" lavc - FFmpeg audio encoder (MP2, AC3, ...)\n"
#endif
+#ifdef HAVE_TOOLAME
+ " toolame - Toolame MP2 audio encoder\n"
+#endif
"\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
{NULL, NULL, 0, 0, 0, 0, NULL}
};
@@ -241,6 +253,11 @@ m_option_t mencoder_opts[]={
#else
{"lavcopts", "MPlayer was compiled without libavcodec. See README or DOCS.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
#endif
+#ifdef HAVE_TOOLAME
+ {"toolameopts", toolameopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
+#else
+ {"toolameopts", "MPlayer was compiled without libtoolame. See README or DOCS.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
+#endif
#ifdef USE_WIN32DLL
{"vfwopts", vfwopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
#endif