OMX: Don't try to send buffers when in resetting state.
If we do this, the OMX_FillThisBuffer function will fail, and will put the OMX class in error mode. Then resource freeing will not happen. This is especially annoying since this can happen during Destroy and leads to resource leaks. BUG=chrome-os-partner:12316 TEST=by hand: play a video, look for buffer leaks. Change-Id: If14311d188f1a2048c11b5bb6186dbf5fc20c1f5 Review URL: https://chromiumcodereview.appspot.com/10837212 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151396 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment