Merge "bug fix: close file pointer" into oc-dev

am: 8735fb45a5

Change-Id: I7ca0f4992804da30eaac7ca24b2dbe9004a5ac55
This commit is contained in:
Ram Mohan M
2017-08-19 01:45:20 +00:00
committed by android-build-merger

View File

@@ -1230,6 +1230,7 @@ TEST_F(VideoDecHidlTest, FlushTest) {
Info.size() - index, portMode[1], false);
}
// Note: Assumes 200 ms is enough to end any decode call that started
eleStream.close();
flushPorts(omxNode, observer, &iBuffer, &oBuffer, kPortIndexInput,
kPortIndexOutput, 200000);
framesReceived = 0;