Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cd39746f authored by Lajos Molnar's avatar Lajos Molnar
Browse files

stagefright: allow specifying flac copmression level by 'complexity'

Bug: 11990470
Change-Id: I428961cc654b768773814078f753e2e67243f186
parent 26156231
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1419,6 +1419,8 @@ status_t ACodec::configureCodec(
        } else {
            if (encoder) {
                if (!msg->findInt32(
                            "complexity", &compressionLevel) &&
                    !msg->findInt32(
                            "flac-compression-level", &compressionLevel)) {
                    compressionLevel = 5; // default FLAC compression level
                } else if (compressionLevel < 0) {