bug fix: close file pointer

Bug: 63796949

Merged-In: Ifd8a27d851cbc659ea8108e0879747cd9169680a
Change-Id: Ifd8a27d851cbc659ea8108e0879747cd9169680a
This commit is contained in:
Ram Mohan M
2017-08-09 14:52:20 +05:30
committed by Pawin Vongmasa
parent 9ce313a7b3
commit 727b2ba98c

View File

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