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

Commit 88bd831b authored by Ram Mohan's avatar Ram Mohan
Browse files

C2SoftAvcEnc: Clip level to max supported level

Bug: 272829183
Test: atest android.mediav2.cts.EncoderProfileLevelTest

Change-Id: I9ebf2e8e4db6ba84cd87bf9ec1dfd44bb829b9ec
parent d5101e99
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -356,7 +356,7 @@ public:
                needsUpdate = true;
            }
        }
        if (!found) {
        if (!found || me.v.level > LEVEL_AVC_5) {
            // We set to the highest supported level.
            me.set().level = LEVEL_AVC_5;
        }