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

Function GetWeakSourceName

lib/utils/source-helpers.cpp:17–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17std::string GetWeakSourceName(obs_weak_source_t *weak_source)
18{
19 std::string name;
20
21 obs_source_t *source = obs_weak_source_get_source(weak_source);
22 if (source) {
23 name = obs_source_get_name(source);
24 obs_source_release(source);
25 }
26
27 return name;
28}
29
30OBSWeakSource GetWeakSourceByName(const char *name)
31{

Callers 15

CheckAutoStartMethod · 0.85
handleSceneChangeFunction · 0.85
SaveMethod · 0.85
ToStringMethod · 0.85
SaveMethod · 0.85
ToStringMethod · 0.85
saveMethod · 0.85
PauseEntryWidgetMethod · 0.85
logMatchSceneMethod · 0.85
logMatchSceneGroupMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected