From 12259bf7f62e75d8711734b706a23da8a9b4f262 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Fri, 10 Jul 2020 12:12:59 +0200 Subject: [PATCH] core/muxers: fix copy-paste comments --- nihav-core/src/muxers/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() } -- 2.39.5