MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / GetVideo

Method GetVideo

plugins/video/parameter-wrappers.cpp:263–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261}
262
263OBSWeakSource VideoInput::GetVideo() const
264{
265 switch (type) {
266 case VideoInput::Type::OBS_MAIN_OUTPUT:
267 return nullptr;
268 case VideoInput::Type::SOURCE:
269 return source.GetSource();
270 case VideoInput::Type::SCENE:
271 return scene.GetScene();
272 }
273 return nullptr;
274}
275
276OCRParameters::OCRParameters()
277{

Callers 4

UpdateActiveKeeperMethod · 0.80
GetScreenshotMethod · 0.80
AskForScreenshotMethod · 0.80
CreateImageMethod · 0.80

Calls 2

GetSceneMethod · 0.80
GetSourceMethod · 0.45

Tested by

no test coverage detected