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

Commit d86c96ba authored by Wonsik Kim's avatar Wonsik Kim
Browse files

CCodec: clear deadline after component start returns

Bug: 287391419
Test: atest android.videocodec.cts.VideoEncoderMinMaxTest
Change-Id: I0477afb011716edb16f5a4074f1a4f29ecf8d312
parent 2342e7af
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1791,6 +1791,10 @@ void CCodec::start() {
                           ACTION_CODE_FATAL);
        return;
    }

    // clear the deadline after the component starts
    setDeadline(TimePoint::max(), 0ms, "none");

    sp<AMessage> inputFormat;
    sp<AMessage> outputFormat;
    status_t err2 = OK;