FilmCraft: An open-source, nonlinear video editor written by scratch in pure Rust
#1450: fix two stale doc comments in mpegts
vangel761990bde6d3e9
diff --git a/crates/mpegts/src/es.rs b/crates/mpegts/src/es.rsindex 88f037965..0b96e1481 100644--- a/crates/mpegts/src/es.rs+++ b/crates/mpegts/src/es.rs@@ -174,7 +174,6 @@ pub struct FrameInfo {const ADTS_RATES: [u32; 13] = [96_000, 88_200, 64_000, 48_000, 44_100, 32_000, 24_000, 22_050, 16_000, 12_000, 11_025, 8_000, 7_350];-/// Parse the frame header at the start of `b` (MPEG audio, ADTS, AC-3, E-AC-3)./// Bytes of the audio frame whose header starts `b` (MPEG audio, ADTS, LATM, AC-3, E-AC-3), or/// `None` without a valid header there. For containers that store frames in chunks that need not/// follow them (AVI): the frames are found again with it.diff --git a/crates/mpegts/src/lib.rs b/crates/mpegts/src/lib.rsindex 4330ebcb5..4092b6b51 100644--- a/crates/mpegts/src/lib.rs+++ b/crates/mpegts/src/lib.rs@@ -218,7 +218,7 @@ pub struct Unit {/// No other unit depends on it (B pictures of MPEG-1/2 video, non-reference H.264/HEVC).pub disposable: bool,pub size: u32,- /// TS: index of the packet holding the first byte; PS: byte offset of its PES packet.+ /// TS: byte offset of the packet holding the first byte; PS: byte offset of its PES packet.pub(crate) pos: u64,/// Offset of the first byte within that packet's elementary-stream payload.pub(crate) offset: u32,