Skip to main content

parse_display

Function parse_display 

Source
pub fn parse_display(
    s: &str,
    frame_rate: FrameRate,
) -> Result<Timecode, TimecodeError>
Expand description

Parse a formatted timecode string back to a Timecode.

Handles SMPTE (colon/semicolon), EBU (colon), and film (+) conventions.

ยงErrors

Returns error if the string cannot be parsed.