# HG changeset patch # User diego # Date 1040906916 0 # Node ID 186d3ee01012200340827658ffec6b230dd48292 # Parent 917130ff78bbccb22ac071127aee14deea7e2dd3 eviv bulgroz : 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 diff -r 917130ff78bb -r 186d3ee01012 DOCS/mplayer.1 --- 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= provide the highest possible quality settings. .RSss medium: VBR encoding, good quality, 150\-180 kbps bitrate range. diff -r 917130ff78bb -r 186d3ee01012 cfg-mencoder.h --- 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}