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

Method ShortName

src/Profiles.cpp:196–204  ·  view source on GitHub ↗

Return the name of this profile (1920x1080p29.97)

Source from the content-addressed store, hash-verified

194
195// Return the name of this profile (1920x1080p29.97)
196std::string Profile::ShortName() {
197 std::string progressive_str = info.interlaced_frame ? "i" : "p";
198 std::string fps_string = formattedFPS(true);
199 std::string result = std::to_string(info.width) + "x" + std::to_string(info.height) + progressive_str + fps_string;
200
201 if (info.spherical)
202 result += " 360°";
203 return result;
204}
205
206// Return a longer format name (1920x1080p @ 29.97 fps (16:9))
207std::string Profile::LongName() {

Callers 1

Profiles.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected