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

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

media_codecs: limit platform AVC decoder to 4080x4080 resolution

Bug: 65438670
Change-Id: Iad8a1c0b42ca8f58d44d892f36b7c153ab437daf
parent 0d3958f7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -35,10 +35,10 @@
        </MediaCodec>
        <MediaCodec name="OMX.google.h264.decoder" type="video/avc">
            <!-- profiles and levels:  ProfileHigh : Level52 -->
            <Limit name="size" min="2x2" max="4096x4096" />
            <Limit name="size" min="2x2" max="4080x4080" />
            <Limit name="alignment" value="2x2" />
            <Limit name="block-size" value="16x16" />
            <Limit name="block-count" range="1-32768" /> <!-- max 4096x2048 -->
            <Limit name="block-count" range="1-32768" /> <!-- max 4096x2048 equivalent -->
            <Limit name="blocks-per-second" range="1-1966080" />
            <Limit name="bitrate" range="1-48000000" />
            <Feature name="adaptive-playback" />