summaryrefslogtreecommitdiffstats
path: root/cfg-mencoder.h
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-12-26 12:48:36 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-12-26 12:48:36 +0000
commit43f8f1925eef4528e8bda0fedd4d0d756c6dcb9e (patch)
tree51d09c8c5e0ef17fb553aa43b73dfe46c5ee73d0 /cfg-mencoder.h
parent1c4233bb14ac0d6dc0c9ed3ad7dbb1f2d5628b2f (diff)
downloadmpv-43f8f1925eef4528e8bda0fedd4d0d756c6dcb9e.tar.bz2
mpv-43f8f1925eef4528e8bda0fedd4d0d756c6dcb9e.tar.xz
eviv bulgroz <ebulgroz@yahoo.com>:
The folllowing patch fixes 2 minor problems in lameopts presets - prints an error message when fast/preset is used with an mplayer built without these options. - small fix in manpage git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8569 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-mencoder.h')
-rw-r--r--cfg-mencoder.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cfg-mencoder.h b/cfg-mencoder.h
index 480fc96dab..37660d38a1 100644
--- a/cfg-mencoder.h
+++ b/cfg-mencoder.h
@@ -34,6 +34,9 @@ struct config lameopts_conf[]={
#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},
+#else
+ {"fast", "MPlayer was built without -lameopts fast support (requires libmp3lame >=3.92)!\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
+ {"preset", "MPlayer was built without -lameopts preset support (requires libmp3lame >=3.92)!\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
#endif
{"help", "TODO: lameopts help!\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
{NULL, NULL, 0, 0, 0, 0, NULL}