pub trait Descriptor {
    type OutputDemuxer: Demuxer;

    fn create(&self) -> Self::OutputDemuxer;
    fn describe(&self) -> &Descr;
    fn probe(&self, data: &[u8]) -> u8;
}
Expand description

Used to get a format descriptor and create a new demuxer.

Required Associated Types

Required Methods

Creates a new demuxer for the requested format.

Returns the descriptor of a format.

Returns a score which represents how much the input data are associated to a format.

Implementors