mirror of
https://github.com/mpv-player/mpv
synced 2024-12-12 01:46:16 +00:00
Remove spurious +1 to lame_param_quality that contradicts documentation and
expectations. patch by Charles Wilcox <willo@wpi.edu> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12101 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
dd04b99219
commit
931e26df8f
@ -1007,7 +1007,7 @@ lame_set_out_samplerate(lame,mux_a->wf->nSamplesPerSec);
|
||||
lame_set_quality(lame,lame_param_algqual); // 0 = best q
|
||||
if(lame_param_vbr){ // VBR:
|
||||
lame_set_VBR(lame,lame_param_vbr); // vbr mode
|
||||
lame_set_VBR_q(lame,lame_param_quality+1); // 1 = best vbr q 6=~128k
|
||||
lame_set_VBR_q(lame,lame_param_quality); // 0 = best vbr q 5=~128k
|
||||
if(lame_param_br>0) lame_set_VBR_mean_bitrate_kbps(lame,lame_param_br);
|
||||
} else { // CBR:
|
||||
if(lame_param_br>0) lame_set_brate(lame,lame_param_br);
|
||||
|
Loading…
Reference in New Issue
Block a user