From bd7a26d17d86045e1dbdb6b930407bd34003d53a Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Wed, 15 Feb 2023 20:46:20 +0100 Subject: [PATCH 1/1] indeo3enc: advance frameno on skip frames as well --- nihav-indeo/src/codecs/indeo3enc/mod.rs | 1 + 1 file changed, 1 insertion(+) 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(()); -- 2.39.5