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

Commit 217fab8d authored by Lajos Molnar's avatar Lajos Molnar Committed by Android (Google) Code Review
Browse files

Merge "stagefright: ACodec: query color format support on specific port" into nyc-dev

parents 90048aad 36e4e159
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7096,7 +7096,7 @@ status_t ACodec::queryCapabilities(
        // prefix "flexible" standard ones with the flexible equivalent
        OMX_VIDEO_PARAM_PORTFORMATTYPE portFormat;
        InitOMXParams(&portFormat);
        param.nPortIndex = isEncoder ? kPortIndexInput : kPortIndexOutput;
        portFormat.nPortIndex = isEncoder ? kPortIndexInput : kPortIndexOutput;
        Vector<uint32_t> supportedColors; // shadow copy to check for duplicates
        for (OMX_U32 index = 0; index <= kMaxIndicesToCheck; ++index) {
            portFormat.nIndex = index;