From 38835733f6a83a4526412b8a00caff45f7bcd9af Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Sun, 4 Oct 2020 11:58:48 +0200 Subject: [PATCH] update null sink for newly introduced stream duration --- src/null.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); -- 2.30.2