0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02:00

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
This commit is contained in:
diego 2002-12-26 12:48:36 +00:00
parent 1c4233bb14
commit 43f8f1925e
2 changed files with 4 additions and 1 deletions

View File

@ -2123,7 +2123,7 @@ set audio input gain
.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.

View File

@ -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}