Function ff_framequeue_skip_samples

Source
pub unsafe extern "C" fn ff_framequeue_skip_samples(
    fq: *mut FFFrameQueue,
    samples: usize,
    time_base: AVRational,
)
Expand description

Skip samples from the first frame in the queue.

This function must be used when the first frame was accessed using ff_framequeue_peek() and samples were consumed from it. It adapts the data pointers and timestamps of the head frame to account for the skipped samples.