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

Commit c42810fc authored by Jia Meng's avatar Jia Meng Committed by Linux Build Service Account
Browse files

libstagefright: fix ITTIAM MPEG4 1080p thumbnail issue

on target with ITTIAM, YUV420P if supported is preferred color
format for thumbnail generation, while YUV420SP is set by
default in ITTIAM decoder. Enable thumbnail mode to force
output format to be YUV420P in ITTIAM decoder.

Change-Id: Iff7b5277db3c01cc58d53904d1b8f635e6113542
CRs-Fixed: 675900
parent c7395781
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -550,7 +550,7 @@ void ExtendedCodec::configureFramePackingFormat(
void ExtendedCodec::configureVideoDecoder(
        const sp<AMessage> &msg, const char* mime, sp<IOMX> OMXhandle,
        const uint32_t flags, IOMX::node_id nodeID, const char* componentName ) {
    if (strncmp(componentName, "OMX.qcom.", 9)) {
    if ((strncmp(componentName, "OMX.qcom.", 9)) && (strncmp(componentName, "OMX.ittiam.", 11))) {
        //do nothing for non QC component
        return;
    }