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

Commit 498c8e53 authored by Lajos Molnar's avatar Lajos Molnar Committed by Automerger Merge Worker
Browse files

CCodec: require static HDR info support for AV1 HDR10 profile am: b857cde4 am: 81e502cf

parents 0966e6af 81e502cf
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -150,9 +150,10 @@ bool addSupportedProfileLevels(
        }
        }
    }
    }


    // For VP9/AV1, the static info is always propagated by framework.
    // VP9 does not support HDR metadata in the bitstream and static metadata
    // can always be carried by the framework. (The framework does not propagate
    // dynamic metadata as that needs to be frame accurate.)
    supportsHdr |= (mediaType == MIMETYPE_VIDEO_VP9);
    supportsHdr |= (mediaType == MIMETYPE_VIDEO_VP9);
    supportsHdr |= (mediaType == MIMETYPE_VIDEO_AV1);


    // HDR support implies 10-bit support.
    // HDR support implies 10-bit support.
    // TODO: directly check this from the component interface
    // TODO: directly check this from the component interface