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

Commit dbe49e44 authored by Wei Jia's avatar Wei Jia Committed by Android (Google) Code Review
Browse files

Merge "ACodec: notify resolution change earlier for tunneled mode." into mnc-dev

parents 9a750f1e 7cb3aff4
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -6503,6 +6503,11 @@ bool ACodec::OutputPortSettingsChangedState::onOMXEvent(

                mCodec->mSentFormat = false;

                if (mTunneled) {
                    sp<AMessage> dummy = new AMessage(kWhatOutputBufferDrained, mCodec);
                    mCodec->sendFormatChange(dummy);
                }

                ALOGV("[%s] Output port now reenabled.", mCodec->mComponentName.c_str());

                if (mCodec->mExecutingState->active()) {