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

Method InitEffectInfo

src/EffectBase.cpp:37–59  ·  view source on GitHub ↗

Initialize the values of the EffectInfo struct

Source from the content-addressed store, hash-verified

35
36// Initialize the values of the EffectInfo struct
37void EffectBase::InitEffectInfo()
38{
39 // Init clip settings
40 Position(0.0);
41 Layer(0);
42 Start(0.0);
43 End(0.0);
44 Order(0);
45 ParentClip(NULL);
46 parentEffect = NULL;
47 mask_invert = false;
48 mask_reader = NULL;
49 mask_time_mode = MASK_TIME_SOURCE_FPS;
50 mask_loop_mode = MASK_LOOP_PLAY_ONCE;
51
52 info.has_video = false;
53 info.has_audio = false;
54 info.has_tracked_object = false;
55 info.name = "";
56 info.description = "";
57 info.parent_effect_id = "";
58 info.apply_before_clip = true;
59}
60
61// Display file information
62void EffectBase::DisplayInfo(std::ostream* out) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected