mirror of
https://github.com/mstorsjo/fdk-aac.git
synced 2025-06-05 22:39:13 +02:00
Allow setting bitrate modes 1-5 too
These correspond to different VBR modes.
This commit is contained in:
@@ -1599,6 +1599,11 @@ AACENC_ERROR aacEncoder_SetParam(
|
||||
if (settings->userBitrateMode != value) {
|
||||
switch ( value ) {
|
||||
case 0:
|
||||
case 1:
|
||||
case 2:
|
||||
case 3:
|
||||
case 4:
|
||||
case 5:
|
||||
case 8:
|
||||
settings->userBitrateMode = value;
|
||||
hAacEncoder->InitFlags |= AACENC_INIT_CONFIG | AACENC_INIT_TRANSPORT;
|
||||
|
Reference in New Issue
Block a user