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

Commit 9302a447 authored by Wei Jia's avatar Wei Jia Committed by Android Git Automerger
Browse files

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

* commit 'a42856b2':
  ACodec: notify resolution change earlier for tunneled mode.
parents 5798be0b a42856b2
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 (mCodec->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()) {