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

Commit a8dc09ca authored by Steve Kondik's avatar Steve Kondik
Browse files

stagefright: Remove flush-before-close quirk for 7x30 decoders

Change-Id: I8899a0bb2102c1764126f50022d4341f29003646
parent c8fc950a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -387,7 +387,7 @@ uint32_t OMXCodec::getComponentQuirks(
    }
    if (!strncmp(componentName, "OMX.qcom.7x30.video.encoder.", 28)) {
        quirks |= kAvoidMemcopyInputRecordingFrames;
        quirks |= kRequiresFlushBeforeShutdown;
    //    quirks |= kRequiresFlushBeforeShutdown;
        quirks |= kCanNotSetVideoParameters;
    }
    if (!strncmp(componentName, "OMX.qcom.video.decoder.", 23)) {
@@ -395,7 +395,7 @@ uint32_t OMXCodec::getComponentQuirks(
        quirks |= kDefersOutputBufferAllocation;
    }
    if (!strncmp(componentName, "OMX.qcom.7x30.video.decoder.", 28)) {
        quirks |= kRequiresFlushBeforeShutdown;
    //    quirks |= kRequiresFlushBeforeShutdown;
        quirks |= kRequiresAllocateBufferOnInputPorts;
        quirks |= kRequiresAllocateBufferOnOutputPorts;
        quirks |= kDefersOutputBufferAllocation;