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
commit 779160c4ea

View File

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