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

Commit 244a2f4a authored by Ram Mohan M's avatar Ram Mohan M Committed by android-build-merger
Browse files

Merge "add missing color format to check list" into oc-dev

am: 79924d78

Change-Id: Ifb2a474f8e547abfce34bba90e50550326f9e65b
parents 550d4c90 79924d78
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -551,6 +551,7 @@ const uint8_t *SoftVideoEncoderOMXComponent::extractGraphicBuffer(
        srcVStride = buffer->height;
        // convert stride from pixels to bytes
        if (format != HAL_PIXEL_FORMAT_YV12 &&
            format != HAL_PIXEL_FORMAT_YCrCb_420_SP &&
            format != HAL_PIXEL_FORMAT_YCbCr_420_888) {
            // TODO do we need to support other formats?
            srcStride *= 4;