Fixed formatting

This commit is contained in:
Prianka Liz Kariat 2023-03-23 19:45:53 +05:30
parent 55483776ab
commit 1685664bdb

View File

@ -107,12 +107,12 @@ using ::mediapipe::InputStreamInfo;
for (NSString *inputStream in self.inputStreams) { for (NSString *inputStream in self.inputStreams) {
graphConfig.add_input_stream(inputStream.cppString); graphConfig.add_input_stream(inputStream.cppString);
NSString *strippedInputStream = [MPPTaskInfo stripTagIndex:inputStream];
flowLimitCalculatorNode->add_input_stream(strippedInputStream.cppString);
NSString *taskInputStream = [MPPTaskInfo addStreamNamePrefix:inputStream]; NSString *taskInputStream = [MPPTaskInfo addStreamNamePrefix:inputStream];
taskSubgraphNode->add_input_stream(taskInputStream.cppString); taskSubgraphNode->add_input_stream(taskInputStream.cppString);
NSString *strippedInputStream = [MPPTaskInfo stripTagIndex:inputStream];
flowLimitCalculatorNode->add_input_stream(strippedInputStream.cppString);
NSString *strippedTaskInputStream = [MPPTaskInfo stripTagIndex:taskInputStream]; NSString *strippedTaskInputStream = [MPPTaskInfo stripTagIndex:taskInputStream];
flowLimitCalculatorNode->add_output_stream(strippedTaskInputStream.cppString); flowLimitCalculatorNode->add_output_stream(strippedTaskInputStream.cppString);
} }