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

Commit 35a30f42 authored by Bart Sears's avatar Bart Sears
Browse files

Revert "ACodec: notify resolution change earlier for tunneled mode."

This reverts commit 7cb3aff4.

Change-Id: I232d6af852ca78727caf4847855d762e08355506
parent 7cb3aff4
Loading
Loading
Loading
Loading
+0 −5
Original line number Original line Diff line number Diff line
@@ -6504,11 +6504,6 @@ bool ACodec::OutputPortSettingsChangedState::onOMXEvent(


                mCodec->mSentFormat = false;
                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());
                ALOGV("[%s] Output port now reenabled.", mCodec->mComponentName.c_str());


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