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

Method Start

src/ClipBase.cpp:42–50  ·  view source on GitHub ↗

Set start position (in seconds) of clip (trim start of video)

Source from the content-addressed store, hash-verified

40
41// Set start position (in seconds) of clip (trim start of video)
42void ClipBase::Start(float value) {
43 start = value;
44
45 if (ParentTimeline()) {
46 // Resort timeline items (internal clips/effects arrays)
47 Timeline *parentTimeline = (Timeline *) ParentTimeline();
48 parentTimeline->SortTimeline();
49 }
50}
51
52// Set end position (in seconds) of clip (trim end of video)
53void ClipBase::End(float value) {

Callers 15

detectObjectsClipMethod · 0.45
stabilizeClipMethod · 0.45
get_transformMethod · 0.45
apply_effectsMethod · 0.45
GetFrameMethod · 0.45
trackClipMethod · 0.45
InitMethod · 0.45
GetFrameMethod · 0.45
AdjustFrameNumberMethod · 0.45
Clip.cppFile · 0.45

Calls 1

SortTimelineMethod · 0.80

Tested by

no test coverage detected