Skip to main content

convert_frame_rate

Function convert_frame_rate 

Source
pub fn convert_frame_rate(
    tc: &Timecode,
    target_rate: FrameRate,
    strategy: ConvertStrategy,
) -> Result<ConvertResult, TimecodeError>
Expand description

Converts a timecode from one frame rate to another.

ยงErrors

Returns an error if the target timecode is invalid (e.g., exceeds 24h).