From 6017df8b5054389e0682cf1b6d82703d12c7fa34 Mon Sep 17 00:00:00 2001 From: Mohit Saroha Date: Tue, 10 May 2022 13:17:57 +0530 Subject: [PATCH] decrreased frameinflight for raw packet output --- mediapipe/objc/MPPGraph.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/mediapipe/objc/MPPGraph.mm b/mediapipe/objc/MPPGraph.mm index 67d71720e..84819c004 100644 --- a/mediapipe/objc/MPPGraph.mm +++ b/mediapipe/objc/MPPGraph.mm @@ -108,6 +108,7 @@ void CallFrameDelegate(void* wrapperVoid, const std::string& streamName, MPPGraph* wrapper = (__bridge MPPGraph*)wrapperVoid; @autoreleasepool { if (packetType == MPPPacketTypeRaw) { + wrapper->_framesInFlight--; [wrapper.delegate mediapipeGraph:wrapper didOutputPacket:packet fromStream:streamName];