Merge "fix [3389263] OMX.Nvidia.h264.decode fails to shutdown" into honeycomb
This commit is contained in:
committed by
Android (Google) Code Review
commit
231da079c9
@ -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);
|
||||||
|
Reference in New Issue
Block a user