Fix sample code in doc.
This commit is contained in:
parent
e9fbe868e5
commit
c1f2186419
|
@ -207,8 +207,8 @@ class SomeAudioVideoCalculator : public CalculatorBase {
|
||||||
// particular type. SetAny() has the same effect as explicitly
|
// particular type. SetAny() has the same effect as explicitly
|
||||||
// setting the type to be the stream's type.
|
// setting the type to be the stream's type.
|
||||||
cc->Outputs().Tag("VIDEO").Set<ImageFrame>();
|
cc->Outputs().Tag("VIDEO").Set<ImageFrame>();
|
||||||
cc->Outputs().Get("AUDIO", 0).Set<Matrix>;
|
cc->Outputs().Get("AUDIO", 0).Set<Matrix>();
|
||||||
cc->Outputs().Get("AUDIO", 1).Set<Matrix>;
|
cc->Outputs().Get("AUDIO", 1).Set<Matrix>();
|
||||||
return ::mediapipe::OkStatus();
|
return ::mediapipe::OkStatus();
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue
Block a user