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

Commit bc9a3643 authored by Lajos Molnar's avatar Lajos Molnar Committed by Gerrit Code Review
Browse files

Merge "CCodec: require static HDR info support for AV1 HDR10 profile"

parents 593eabf6 029b7eb6
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -151,9 +151,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_AV1);

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