diff options
-rw-r--r-- | media/omx/1.0/vts/functional/common/media_hidl_test_common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/omx/1.0/vts/functional/common/media_hidl_test_common.h b/media/omx/1.0/vts/functional/common/media_hidl_test_common.h index e23d781b..de043b2c 100644 --- a/media/omx/1.0/vts/functional/common/media_hidl_test_common.h +++ b/media/omx/1.0/vts/functional/common/media_hidl_test_common.h | |||
@@ -126,8 +126,8 @@ struct CodecObserver : public IOmxObserver { | |||
126 | android::Vector<BufferInfo>* iBuffers = nullptr, | 126 | android::Vector<BufferInfo>* iBuffers = nullptr, |
127 | android::Vector<BufferInfo>* oBuffers = nullptr) { | 127 | android::Vector<BufferInfo>* oBuffers = nullptr) { |
128 | int64_t finishBy = android::ALooper::GetNowUs() + timeoutUs; | 128 | int64_t finishBy = android::ALooper::GetNowUs() + timeoutUs; |
129 | android::Mutex::Autolock autoLock(msgLock); | ||
130 | for (;;) { | 129 | for (;;) { |
130 | android::Mutex::Autolock autoLock(msgLock); | ||
131 | android::List<Message>::iterator it = msgQueue.begin(); | 131 | android::List<Message>::iterator it = msgQueue.begin(); |
132 | while (it != msgQueue.end()) { | 132 | while (it != msgQueue.end()) { |
133 | if (it->type == | 133 | if (it->type == |