From 65a98be80967896e4f6152f715be8fc36cf71b89 Mon Sep 17 00:00:00 2001 From: MediaPipe Team Date: Tue, 4 Apr 2023 08:37:33 -0700 Subject: [PATCH] Fixed comment and added note. PiperOrigin-RevId: 521772542 --- mediapipe/framework/tool/sink.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mediapipe/framework/tool/sink.h b/mediapipe/framework/tool/sink.h index d659115ee..f786e60a7 100644 --- a/mediapipe/framework/tool/sink.h +++ b/mediapipe/framework/tool/sink.h @@ -62,9 +62,9 @@ namespace tool { // Example usage: // CalculatorGraphConfig config = tool::ParseGraphFromFileOrDie("config.txt"); // std::vector packet_dump; -// tool::AddVectorSink("output_samples", &config, &packet_dump, -// /*use_std_function=*/true); -// // Call tool::AddVectorSink() more times if you wish. +// tool::AddVectorSink("output_samples", &config, &packet_dump); +// // Call tool::AddVectorSink() more times if you wish. Note that each stream +// // needs to get its own packet vector. // CalculatorGraph graph; // CHECK_OK(graph.Initialize(config)); // // Set other input side packets.