From: Kostya Shishkov Date: Fri, 10 Jul 2020 10:12:59 +0000 (+0200) Subject: core/muxers: fix copy-paste comments X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=12259bf7f62e75d8711734b706a23da8a9b4f262;p=nihav.git core/muxers: fix copy-paste comments --- diff --git a/nihav-core/src/muxers/mod.rs b/nihav-core/src/muxers/mod.rs index 6194f51..69ab917 100644 --- a/nihav-core/src/muxers/mod.rs +++ b/nihav-core/src/muxers/mod.rs @@ -97,11 +97,11 @@ impl<'a> Muxer<'a> { self.streams.iter() } - /// Demuxes a new packet from the container. + /// Queues a new packet for muxing. pub fn mux_frame(&mut self, pkt: NAPacket) -> MuxerResult<()> { self.mux.mux_frame(&self.streams, pkt) } - /// Returns internal seek index. + /// Flushes the current muxing state. pub fn flush(&mut self) -> MuxerResult<()> { self.mux.flush() }