Skip to main content

signed_frame_distance

Function signed_frame_distance 

Source
pub fn signed_frame_distance(
    table: &OffsetTable,
    a: &Timecode,
    b: &Timecode,
) -> Result<i64, TimecodeError>
Expand description

Compute the frame-accurate distance between two timecodes using the table.

The result is signed: positive when b is after a, negative otherwise.