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

Commit fe763e1d authored by Santhosh Behara's avatar Santhosh Behara Committed by Linux Build Service Account
Browse files

stagefright: List mpeg4decoder quirks seperately for each type

List mpeg4 s/w decoder quirks seperately for each mimetype
video/mp4v-es and video/mp4v-esdp.

Change-Id: I45d0acf0f71fa8ca4bf230a1829677d95ad24673
parent c2f8b542
Loading
Loading
Loading
Loading
+17 −8
Original line number Diff line number Diff line
@@ -17,13 +17,21 @@
<Included>
    <Decoders>
        <MediaCodec name="OMX.google.mpeg4.decoder">
            <Type name="video/mp4v-es" />
            <Type name="video/mp4v-es">
            <!-- profiles and levels:  ProfileSimple : Level3 -->
                <Limit name="size" min="2x2" max="352x288" />
                <Limit name="alignment" value="2x2" />
                <Limit name="block-size" value="16x16" />
                <Limit name="blocks-per-second" range="12-11880" />
                <Limit name="bitrate" range="1-384000" />
                <Feature name="adaptive-playback" />
            </Type>
            <Type name="video/mp4v-esdp">
            <!--
                Use Google mpeg4 decoder for mpeg4 DP content which is not
                supported by HW. A component can be used to support several
                mimetypes, so non-DP mpeg4 usecases will not be affected by this.
            -->
            <Type name="video/mp4v-esdp" />
            <!-- profiles and levels:  ProfileSimple : Level3 -->
                <Limit name="size" min="2x2" max="352x288" />
                <Limit name="alignment" value="2x2" />
@@ -31,6 +39,7 @@
                <Limit name="blocks-per-second" range="12-11880" />
                <Limit name="bitrate" range="1-384000" />
                <Feature name="adaptive-playback" />
            </Type>
        </MediaCodec>
        <MediaCodec name="OMX.google.h263.decoder" type="video/3gpp">
            <!-- profiles and levels:  ProfileBaseline : Level30, ProfileBaseline : Level45