1
0
mirror of https://github.com/mstorsjo/fdk-aac.git synced 2025-01-07 13:22:24 +01:00

Allow setting bitrate modes 1-5 too

These correspond to different VBR modes.
This commit is contained in:
Martin Storsjo 2012-06-30 10:22:40 +03:00
parent 7e5a3465a8
commit b431d100a3

View File

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