mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Fix closure of record thread
Bug: 197763854 Fix: 197763854 Change-Id: I8c3e843ddac6ad77aecaca7c91f0884204145ee6
This commit is contained in:
committed by
Hongguang Chen
parent
c11fad6ab4
commit
f8a4e2ae3a
@@ -204,6 +204,7 @@ bool DvrCallback::readRecordFMQ() {
|
|||||||
void DvrCallback::stopRecordThread() {
|
void DvrCallback::stopRecordThread() {
|
||||||
mKeepReadingRecordFMQ = false;
|
mKeepReadingRecordFMQ = false;
|
||||||
mRecordThreadRunning = false;
|
mRecordThreadRunning = false;
|
||||||
|
android::Mutex::Autolock autoLock(mRecordThreadLock);
|
||||||
}
|
}
|
||||||
|
|
||||||
AssertionResult DvrTests::openDvrInDemux(DvrType type, uint32_t bufferSize) {
|
AssertionResult DvrTests::openDvrInDemux(DvrType type, uint32_t bufferSize) {
|
||||||
|
|||||||
Reference in New Issue
Block a user