DescriptionOMX: 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
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=151396
Patch Set 1 #
Total comments: 6
Patch Set 2 : Also handle the case of destroy/error. #Messages
Total messages: 7 (0 generated)
|