MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / init_effect_details

Method init_effect_details

src/effects/ChromaKey.cpp:45–56  ·  view source on GitHub ↗

Init effect settings

Source from the content-addressed store, hash-verified

43
44// Init effect settings
45void ChromaKey::init_effect_details()
46{
47 /// Initialize the values of the EffectInfo struct.
48 InitEffectInfo();
49
50 /// Set the effect info
51 info.class_name = "ChromaKey";
52 info.name = "Chroma Key (Greenscreen)";
53 info.description = "Replaces the color (or chroma) of the frame with transparency (i.e. keys out the color).";
54 info.has_audio = false;
55 info.has_video = true;
56}
57
58// This method is required for all derived classes of EffectBase, and returns a
59// modified openshot::Frame object

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected