Commit b431d100 authored by Martin Storsjo's avatar Martin Storsjo

Allow setting bitrate modes 1-5 too

These correspond to different VBR modes.
parent 7e5a3465
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment