]> git.nihav.org Git - nihav.git/commitdiff
core/muxers: fix copy-paste comments
authorKostya Shishkov <kostya.shishkov@gmail.com>
Fri, 10 Jul 2020 10:12:59 +0000 (12:12 +0200)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Fri, 10 Jul 2020 10:12:59 +0000 (12:12 +0200)
nihav-core/src/muxers/mod.rs

index 6194f518c092e75e68493883470f2a3f76139159..69ab917562d762e8cf22c2ad9ad055ea7be84ad1 100644 (file)
@@ -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()
     }