am 231da079: Merge "fix [3389263] OMX.Nvidia.h264.decode fails to shutdown" into honeycomb

* commit '231da079c93664fa7d81c7e957990f17a6334b17':
  fix [3389263] OMX.Nvidia.h264.decode fails to shutdown
This commit is contained in:
Mathias Agopian 2011-01-28 18:40:44 -08:00 committed by Android Git Automerger
commit daabd7c228

View File

@ -150,8 +150,7 @@ status_t Layer::ditch()
// the layer is not on screen anymore. free as much resources as possible // the layer is not on screen anymore. free as much resources as possible
mFreezeLock.clear(); mFreezeLock.clear();
EGLDisplay dpy(mFlinger->graphicPlane(0).getEGLDisplay()); // Free our own reference to ISurface
mBufferManager.destroy(dpy);
mSurface.clear(); mSurface.clear();
Mutex::Autolock _l(mLock); Mutex::Autolock _l(mLock);