Skip to main content

TimecodeReader

Trait TimecodeReader 

Source
pub trait TimecodeReader {
    // Required methods
    fn read_timecode(&mut self) -> Result<Option<Timecode>, TimecodeError>;
    fn frame_rate(&self) -> FrameRate;
    fn is_synchronized(&self) -> bool;
}
Expand description

Timecode reader trait

Required Methods§

Source

fn read_timecode(&mut self) -> Result<Option<Timecode>, TimecodeError>

Read the next timecode from the source

Source

fn frame_rate(&self) -> FrameRate

Get the current frame rate

Source

fn is_synchronized(&self) -> bool

Check if the reader is synchronized

Implementors§