Tools GUI: fix use of mp3 AVR target bit rate
|Reported by:||criezy||Owned by:||criezy|
Reviewing my patch #2981339 I noticed I made a mistake. The CompresionTool store the VBR minimum bit rate and the ABR target bit rate in the same variable. Because the GUI Tools now pass both to the CompressionTool and the second one is the VBR minimum bit rate, when encoding using MP3 ABR it will use the bit rate specified in the disabled VBR minimum bit rate combobox instead of the one from the ABR target bit rate combobox. This patch fixes this by setting either the ABR target bit rate or the VBR minimum and maximum bit rates in the CompresionTool depending if the user chose ABR or VBR.
Ticket imported from: #2982306. Ticket imported from: patches/1266.