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

This commit is contained in:
Mathias Agopian
2011-01-28 18:38:58 -08:00
committed by Android (Google) Code Review

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);