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

Commit d55ed3b3 authored by Wonsik Kim's avatar Wonsik Kim Committed by Cherrypicker Worker
Browse files

CCodec: clear deadline after component start returns

Bug: 287391419
Test: atest android.videocodec.cts.VideoEncoderMinMaxTest
(cherry picked from https://android-review.googlesource.com/q/commit:d86c96badfadb21b09aec51464c2814143b8bafa)
Merged-In: I0477afb011716edb16f5a4074f1a4f29ecf8d312
Change-Id: I0477afb011716edb16f5a4074f1a4f29ecf8d312
parent 8f83345c
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1808,6 +1808,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;