pub type FfmpegDemuxer = CarrierDemuxer<View>;Expand description
The demuxer, on the view lane — the ordinary road.
Packets carry FfmpegBuffer views onto libavformat’s own
allocations: nothing is copied, and a consumer that reads a packet
and drops it never pays for bytes it did not keep. This is what a
direct consumer wants, which is why it is what the bare name means.
Reach for FfmpegOwnedDemuxer when a packet has to travel —
across a graph, between threads that both read it, into a cache
that outlives the decoder. See the carrier lanes for the
tradeoff table.
Aliased Type§
pub struct FfmpegDemuxer { /* private fields */ }