bug fix: close file pointer

Bug: 63796949

Merged-In: Ifd8a27d851cbc659ea8108e0879747cd9169680a
Change-Id: Ifd8a27d851cbc659ea8108e0879747cd9169680a
(cherry picked from commit 727b2ba98c)
This commit is contained in:
Ram Mohan M
2017-08-09 14:52:20 +05:30
committed by Keun Soo Yim
parent 5b21eaa608
commit 6729c05751

View File

@@ -1378,6 +1378,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;