Set start position (in seconds) of clip (trim start of video)
| 40 | |
| 41 | // Set start position (in seconds) of clip (trim start of video) |
| 42 | void 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) |
| 53 | void ClipBase::End(float value) { |
no test coverage detected