From: Kostya Shishkov Date: Sun, 4 Oct 2020 09:58:48 +0000 (+0200) Subject: update null sink for newly introduced stream duration X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=38835733f6a83a4526412b8a00caff45f7bcd9af;p=nihav-encoder.git update null sink for newly introduced stream duration --- diff --git a/src/null.rs b/src/null.rs index eceef40..7d41877 100644 --- a/src/null.rs +++ b/src/null.rs @@ -23,7 +23,7 @@ impl NAEncoder for NullEncoder { NACodecTypeInfo::None => StreamType::Data, }; let info = NACodecInfo::new("null", encinfo.format, None); - let mut stream = NAStream::new(stype, stream_id, info, encinfo.tb_num, encinfo.tb_den); + let mut stream = NAStream::new(stype, stream_id, info, encinfo.tb_num, encinfo.tb_den, 0); stream.set_num(stream_id as usize); let stream = stream.into_ref(); self.stream = Some(stream.clone());