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

Commit e80279e6 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "codec2: initialize delays at start" into qt-dev

parents 9694a996 bdffeadd
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -886,6 +886,8 @@ status_t CCodecBufferChannel::start(

        bool forceArrayMode = false;
        Mutexed<Input>::Locked input(mInput);
        input->inputDelay = inputDelayValue;
        input->pipelineDelay = pipelineDelayValue;
        input->numSlots = numInputSlots;
        input->extraBuffers.flush();
        input->numExtraSlots = 0u;
@@ -1052,6 +1054,7 @@ status_t CCodecBufferChannel::start(
        }

        Mutexed<Output>::Locked output(mOutput);
        output->outputDelay = outputDelayValue;
        output->numSlots = numOutputSlots;
        if (graphic) {
            if (outputSurface) {