Skip to content

Commit

Permalink
fix(AppleVideoToolBox): fix dead lock when bg
Browse files Browse the repository at this point in the history
Signed-off-by: pingkai <pingkai010@gmail.com>
  • Loading branch information
pingkai committed Feb 24, 2020
1 parent 850ee6e commit c822566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/codec/Apple/AppleVideoToolBox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ namespace Cicada {
void AFVTBDecoder::push_to_recovery_queue(std::unique_ptr<IAFPacket> pPacket)
{
pPacket->setDiscard(true);
std::lock_guard<std::mutex> lock(mActiveStatusMutex);
// std::lock_guard<std::mutex> lock(mActiveStatusMutex);

if (pPacket->getInfo().flags) {
while (!mRecoveryQueue.empty()) {
Expand Down

0 comments on commit c822566

Please sign in to comment.