Skip to main content

FfmpegResampler

Type Alias FfmpegResampler 

Source
pub type FfmpegResampler = CarrierResampler<View>;
Available on crate feature resample only.
Expand description

The resampler, on the view lane — planes shared out of its own output frame.

Its output frames are the resampler’s, not a decoder’s: it allocates one per conversion and never writes into a buffer it has handed out, so the pool-hostage warning that applies to decoder frames does not apply here. What does apply is !Sync and the amputation contract — use FfmpegOwnedResampler for a frame that has to travel.

Aliased Type§

pub struct FfmpegResampler { /* private fields */ }