changeset 8568:186d3ee01012

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
author diego
date Thu, 26 Dec 2002 12:48:36 +0000
parents 917130ff78bb
children a34876f047d9
files DOCS/mplayer.1 cfg-mencoder.h
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/DOCS/mplayer.1	Thu Dec 26 11:33:11 2002 +0000
+++ b/DOCS/mplayer.1	Thu Dec 26 12:48:36 2002 +0000
@@ -2123,7 +2123,7 @@
 .IPs fast
 switch on faster encoding on subsequent VBR presets modes, slightly lower 
 quality and higher bitrates.
-.IPs preset
+.IPs preset=<value>
 provide the highest possible quality settings.
 .RSss
 medium: VBR encoding, good quality, 150\-180 kbps bitrate range.
--- a/cfg-mencoder.h	Thu Dec 26 11:33:11 2002 +0000
+++ b/cfg-mencoder.h	Thu Dec 26 12:48:36 2002 +0000
@@ -34,6 +34,9 @@
 #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}