Set end position (in seconds) of clip (trim end of video)
| 51 | |
| 52 | // Set end position (in seconds) of clip (trim end of video) |
| 53 | void ClipBase::End(float value) { |
| 54 | end = value; |
| 55 | |
| 56 | if (ParentTimeline()) { |
| 57 | // Resort timeline items (internal clips/effects arrays) |
| 58 | Timeline *parentTimeline = (Timeline *) ParentTimeline(); |
| 59 | parentTimeline->SortTimeline(); |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | // Generate Json::Value for this object |
| 64 | Json::Value ClipBase::JsonValue() const { |
nothing calls this directly
no test coverage detected