pub struct Demuxer<T>where
T: DemuxerEvents,{ /* private fields */ }
Expand description
TODO: use tree, redix tree here TODO: add benches
Implementations§
Source§impl<T> Demuxer<T>where
T: DemuxerEvents,
impl<T> Demuxer<T>where
T: DemuxerEvents,
pub fn new(events: T) -> Demuxer<T>
pub fn demux(&mut self, raw: &[u8]) -> Result<()>
Sourcepub fn demux_tables(&mut self, raw: &[u8]) -> Result<bool>
pub fn demux_tables(&mut self, raw: &[u8]) -> Result<bool>
ffmpeg::avformat_open_input analog probe input return: is pid handled?
Sourcepub fn demux_packets(&mut self, raw: &[u8]) -> Result<()>
pub fn demux_packets(&mut self, raw: &[u8]) -> Result<()>
ffmpeg::av_read_frame analog
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Demuxer<T>where
T: Freeze,
impl<T> !RefUnwindSafe for Demuxer<T>
impl<T> !Sync for Demuxer<T>
impl<T> Unpin for Demuxer<T>where
T: Unpin,
impl<T> !UnwindSafe for Demuxer<T>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more