decrreased frameinflight for raw packet output
This commit is contained in:
parent
4a20e9909d
commit
6017df8b50
|
@ -108,6 +108,7 @@ void CallFrameDelegate(void* wrapperVoid, const std::string& streamName,
|
||||||
MPPGraph* wrapper = (__bridge MPPGraph*)wrapperVoid;
|
MPPGraph* wrapper = (__bridge MPPGraph*)wrapperVoid;
|
||||||
@autoreleasepool {
|
@autoreleasepool {
|
||||||
if (packetType == MPPPacketTypeRaw) {
|
if (packetType == MPPPacketTypeRaw) {
|
||||||
|
wrapper->_framesInFlight--;
|
||||||
[wrapper.delegate mediapipeGraph:wrapper
|
[wrapper.delegate mediapipeGraph:wrapper
|
||||||
didOutputPacket:packet
|
didOutputPacket:packet
|
||||||
fromStream:streamName];
|
fromStream:streamName];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user