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

Method DisplayInfo

src/EffectBase.cpp:62–74  ·  view source on GitHub ↗

Display file information

Source from the content-addressed store, hash-verified

60
61// Display file information
62void EffectBase::DisplayInfo(std::ostream* out) {
63 *out << std::fixed << std::setprecision(2) << std::boolalpha;
64 *out << "----------------------------" << std::endl;
65 *out << "----- Effect Information -----" << std::endl;
66 *out << "----------------------------" << std::endl;
67 *out << "--> Name: " << info.name << std::endl;
68 *out << "--> Description: " << info.description << std::endl;
69 *out << "--> Has Video: " << info.has_video << std::endl;
70 *out << "--> Has Audio: " << info.has_audio << std::endl;
71 *out << "--> Apply Before Clip Keyframes: " << info.apply_before_clip << std::endl;
72 *out << "--> Order: " << order << std::endl;
73 *out << "----------------------------" << std::endl;
74}
75
76// Constrain a color value from 0 to 255
77int EffectBase::constrain(int color_value)

Callers 7

SetTimelineSourceMethod · 0.45
SetSourceMethod · 0.45
FFmpegWriter.cppFile · 0.45
FFmpegReader.cppFile · 0.45
ExampleHtml.pyFile · 0.45
mainFunction · 0.45
Example.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected