From: Kostya Shishkov Date: Wed, 15 Feb 2023 19:46:20 +0000 (+0100) Subject: indeo3enc: advance frameno on skip frames as well X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=bd7a26d17d86045e1dbdb6b930407bd34003d53a;p=nihav.git indeo3enc: advance frameno on skip frames as well --- diff --git a/nihav-indeo/src/codecs/indeo3enc/mod.rs b/nihav-indeo/src/codecs/indeo3enc/mod.rs index 558e11b..dc638bc 100644 --- a/nihav-indeo/src/codecs/indeo3enc/mod.rs +++ b/nihav-indeo/src/codecs/indeo3enc/mod.rs @@ -273,6 +273,7 @@ impl NAEncoder for Indeo3Encoder { let fsize = dbuf.len() as u32; self.rc.advance(fsize); + self.frameno += 1; self.pkt = Some(NAPacket::new(self.stream.clone().unwrap(), frm.ts, false, dbuf)); return Ok(());