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

Method ToString

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

Source from the content-addressed store, hash-verified

235}
236
237std::string VideoInput::ToString(bool resolve) const
238{
239 switch (type) {
240 case VideoInput::Type::OBS_MAIN_OUTPUT:
241 return obs_module_text("AdvSceneSwitcher.OBSVideoOutput");
242 case VideoInput::Type::SOURCE:
243 return source.ToString(resolve);
244 case VideoInput::Type::SCENE:
245 return scene.ToString(resolve);
246 }
247 return "";
248}
249
250bool VideoInput::ValidSelection() const
251{

Callers 1

GetShortDescMethod · 0.45

Calls 1

obs_module_textFunction · 0.85

Tested by

no test coverage detected