lib/edl/event.rb in edl-0.1.2 vs lib/edl/event.rb in edl-0.1.3

- old
+ new

@@ -125,11 +125,16 @@ # Capture from (and including!) this timecode to complete this event including timewarps and transitions def capture_from_tc @timewarp ? @timewarp.source_used_from : src_start_tc end - - # Capture up to (but not including!) this timecode to complete this event including timewarps and transitions + + # Capture up to AND INCLUDING this timecode to complete this event including timewarps and transitions + def capture_to_and_including_tc + capture_to_tc - 1 + end + + # Capture up to BUT NOT INCLUDING this timecode to complete this event including timewarps and transitions def capture_to_tc @timewarp ? @timewarp.source_used_upto : (src_end_tc + outgoing_transition_duration) end # Speed of this clip in percent relative to the source speed. 100 for non-timewarped events \ No newline at end of file