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

Commit 1864e9f6 authored by Lajos Molnar's avatar Lajos Molnar Committed by Android (Google) Code Review
Browse files

Merge "stagefright: allow specifying flac copmression level by 'complexity'" into lmp-dev

parents 74868d6d cd39746f
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) {