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

Commit 27f870c9 authored by Pradnya Chaphekar's avatar Pradnya Chaphekar Committed by Steve Kondik
Browse files

Stagefright: Add AllocateBuffer on input port quirk for qcom video decoders

Change-Id: Ib526c905005fef6fb532fae326e4a7b383b03ac1
parent 65163807
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -297,6 +297,7 @@ uint32_t OMXCodec::getComponentQuirks(const char *componentName) {
        quirks |= kRequiresAllocateBufferOnOutputPorts;
        quirks |= kRequiresAllocateBufferOnOutputPorts;
    }
    }
    if (!strncmp(componentName, "OMX.qcom.video.decoder.", 23)) {
    if (!strncmp(componentName, "OMX.qcom.video.decoder.", 23)) {
        quirks |= kRequiresAllocateBufferOnInputPorts;
        quirks |= kRequiresAllocateBufferOnOutputPorts;
        quirks |= kRequiresAllocateBufferOnOutputPorts;
        quirks |= kDefersOutputBufferAllocation;
        quirks |= kDefersOutputBufferAllocation;
    }
    }