pub struct Opened(pub Decoder);Tuple Fields§
§0: Decoder实现§
源代码§impl Opened
impl Opened
pub fn video(self) -> Result<Video, Error>
pub fn audio(self) -> Result<Audio, Error>
pub fn subtitle(self) -> Result<Subtitle, Error>
pub fn send_packet<P: Ref>(&mut self, packet: &P) -> Result<(), Error>
源代码pub fn send_eof(&mut self) -> Result<(), Error>
pub fn send_eof(&mut self) -> Result<(), Error>
Sends a NULL packet to the decoder to signal end of stream and enter draining mode.