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

Function WeakSourceValid

lib/utils/source-helpers.cpp:8–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6namespace advss {
7
8bool WeakSourceValid(obs_weak_source_t *ws)
9{
10 obs_source_t *source = obs_weak_source_get_source(ws);
11 if (source) {
12 obs_source_release(source);
13 }
14 return !!source;
15}
16
17std::string GetWeakSourceName(obs_weak_source_t *weak_source)
18{

Callers 8

PruneMethod · 0.85
validMethod · 0.85
initializedMethod · 0.85
validMethod · 0.85
validMethod · 0.85
validMethod · 0.85
validMethod · 0.85
validMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected