From c82256695174bc2f6ecfecd8042d7fd580001069 Mon Sep 17 00:00:00 2001 From: pingkai Date: Mon, 24 Feb 2020 21:32:57 +0800 Subject: [PATCH] fix(AppleVideoToolBox): fix dead lock when bg Signed-off-by: pingkai --- framework/codec/Apple/AppleVideoToolBox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/codec/Apple/AppleVideoToolBox.cpp b/framework/codec/Apple/AppleVideoToolBox.cpp index a3692ef6e..22984ac73 100644 --- a/framework/codec/Apple/AppleVideoToolBox.cpp +++ b/framework/codec/Apple/AppleVideoToolBox.cpp @@ -693,7 +693,7 @@ namespace Cicada { void AFVTBDecoder::push_to_recovery_queue(std::unique_ptr pPacket) { pPacket->setDiscard(true); - std::lock_guard lock(mActiveStatusMutex); + // std::lock_guard lock(mActiveStatusMutex); if (pPacket->getInfo().flags) { while (!mRecoveryQueue.empty()) {