summaryrefslogtreecommitdiffstats
path: root/media/omx
diff options
context:
space:
mode:
authorRam Mohan M2017-08-09 04:22:20 -0500
committerKeun Soo Yim2018-01-23 20:03:56 -0600
commit6729c05751ac1d5ead8b8484daf1e58f19c3d41f (patch)
treee5c3c7eea6f1765d40d4718d07a790ed216751f6 /media/omx
parent5b21eaa608485ba6f898c917919fcf7df5955fff (diff)
downloadplatform-hardware-interfaces-6729c05751ac1d5ead8b8484daf1e58f19c3d41f.tar.gz
platform-hardware-interfaces-6729c05751ac1d5ead8b8484daf1e58f19c3d41f.tar.xz
platform-hardware-interfaces-6729c05751ac1d5ead8b8484daf1e58f19c3d41f.zip
bug fix: close file pointer
Bug: 63796949 Merged-In: Ifd8a27d851cbc659ea8108e0879747cd9169680a Change-Id: Ifd8a27d851cbc659ea8108e0879747cd9169680a (cherry picked from commit 727b2ba98c81b962cfd3cfbaf8b706cce37cb096)
Diffstat (limited to 'media/omx')
-rw-r--r--media/omx/1.0/vts/functional/video/VtsHalMediaOmxV1_0TargetVideoDecTest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/media/omx/1.0/vts/functional/video/VtsHalMediaOmxV1_0TargetVideoDecTest.cpp b/media/omx/1.0/vts/functional/video/VtsHalMediaOmxV1_0TargetVideoDecTest.cpp
index 2bdb06d4..6e2e739c 100644
--- a/media/omx/1.0/vts/functional/video/VtsHalMediaOmxV1_0TargetVideoDecTest.cpp
+++ b/media/omx/1.0/vts/functional/video/VtsHalMediaOmxV1_0TargetVideoDecTest.cpp
@@ -1378,6 +1378,7 @@ TEST_F(VideoDecHidlTest, FlushTest) {
1378 Info.size() - index, portMode[1], false); 1378 Info.size() - index, portMode[1], false);
1379 } 1379 }
1380 // Note: Assumes 200 ms is enough to end any decode call that started 1380 // Note: Assumes 200 ms is enough to end any decode call that started
1381 eleStream.close();
1381 flushPorts(omxNode, observer, &iBuffer, &oBuffer, kPortIndexInput, 1382 flushPorts(omxNode, observer, &iBuffer, &oBuffer, kPortIndexInput,
1382 kPortIndexOutput, 200000); 1383 kPortIndexOutput, 200000);
1383 framesReceived = 0; 1384 framesReceived = 0;