Loading media/libstagefright/ACodec.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -7922,6 +7922,10 @@ bool ACodec::OutputPortSettingsChangedState::onOMXEvent( OMX_CommandPortEnable, kPortIndexOutput); } // Clear the RenderQueue in which queued GraphicBuffers hold the // actual buffer references in order to free them early. mCodec->mRenderTracker.clear(systemTime(CLOCK_MONOTONIC)); if (err == OK) { err = mCodec->allocateBuffersOnPort(kPortIndexOutput); ALOGE_IF(err != OK, "Failed to allocate output port buffers after port " Loading Loading
media/libstagefright/ACodec.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -7922,6 +7922,10 @@ bool ACodec::OutputPortSettingsChangedState::onOMXEvent( OMX_CommandPortEnable, kPortIndexOutput); } // Clear the RenderQueue in which queued GraphicBuffers hold the // actual buffer references in order to free them early. mCodec->mRenderTracker.clear(systemTime(CLOCK_MONOTONIC)); if (err == OK) { err = mCodec->allocateBuffersOnPort(kPortIndexOutput); ALOGE_IF(err != OK, "Failed to allocate output port buffers after port " Loading