Skip to main content

before_target

Function before_target 

Source
pub fn before_target(pts: f64, target: f64, fps: f64) -> bool
Expand description

Whether a frame at pts is still before a seek’s target and should be decoded but not shown: the next frame (one frame time later) would already be showing at target. The decoder starts at the keyframe before the target and works forward to the frame on screen at it.