MCPcopy Create free account
hub / github.com/Tencent/libpag / CheckStreamExpression

Function CheckStreamExpression

exporter/src/export/stream/StreamProperty.cpp:226–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224}
225
226void CheckStreamExpression(AEGP_StreamRefH streamHandle) {
227 const auto& Suites = GetSuites();
228 const auto& PluginID = GetPluginID();
229
230 A_Boolean canVary = false;
231 Suites->StreamSuite4()->AEGP_CanVaryOverTime(streamHandle, &canVary);
232 if (canVary) {
233 A_Boolean flag = false;
234 Suites->StreamSuite4()->AEGP_GetExpressionState(PluginID, streamHandle, &flag);
235 if (flag) {
236 PAGExportSessionManager::GetInstance()->recordWarning(AlertInfoType::Expression);
237 }
238 }
239}
240
241} // namespace exporter

Callers 1

GetPropertyFunction · 0.85

Calls 3

GetSuitesFunction · 0.85
GetPluginIDFunction · 0.85
recordWarningMethod · 0.80

Tested by

no test coverage detected