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

Commit 74b59006 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "C2SoftHevcEnc: Clip level to max supported level"

parents 09b16fd4 6a86fc01
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -362,7 +362,7 @@ class C2SoftHevcEnc::IntfImpl : public SimpleInterface<void>::BaseParams {
                needsUpdate = true;
            }
        }
        if (!found) {
        if (!found || me.v.level > LEVEL_HEVC_MAIN_5_2) {
            // We set to the highest supported level.
            me.set().level = LEVEL_HEVC_MAIN_5_2;
        }