Struct mpeg2ts_reader::demultiplex::UnhandledPid [−][src]
pub struct UnhandledPid<Ctx: DemuxContext> { /* fields omitted */ }
an implementation of PacketFilter that will log a message the first time that consume() is
called, reporting the PID of the given packet. Register this pid filter as the 'default' in
order to have diagnostic logging for packets within the Transport Stream that were not
announced in the PAT or PMT tables.
If you do not want those diagnostic messages, use NullPacketFilter as the default instead.
Methods
impl<Ctx: DemuxContext> UnhandledPid<Ctx>[src]
impl<Ctx: DemuxContext> UnhandledPid<Ctx>pub fn new() -> UnhandledPid<Ctx>[src]
pub fn new() -> UnhandledPid<Ctx>Trait Implementations
impl<Ctx: DemuxContext> PacketFilter for UnhandledPid<Ctx>[src]
impl<Ctx: DemuxContext> PacketFilter for UnhandledPid<Ctx>Auto Trait Implementations
impl<Ctx> Send for UnhandledPid<Ctx> where
Ctx: Send,
impl<Ctx> Send for UnhandledPid<Ctx> where
Ctx: Send, impl<Ctx> Sync for UnhandledPid<Ctx> where
Ctx: Sync,
impl<Ctx> Sync for UnhandledPid<Ctx> where
Ctx: Sync,