projects
/
nihav-encoder.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22faa40
)
update null sink for newly introduced stream duration
author
Kostya Shishkov
<kostya.shishkov@gmail.com>
Sun, 4 Oct 2020 09:58:48 +0000
(11:58 +0200)
committer
Kostya Shishkov
<kostya.shiskov@gmail.com>
Sun, 4 Oct 2020 10:13:40 +0000
(12:13 +0200)
src/null.rs
patch
|
blob
|
blame
|
history
diff --git
a/src/null.rs
b/src/null.rs
index eceef40874c788c7a81b83d69a0122ba8673bc20..7d41877593ab82caf20dd9478d4ee3100b4f5ccf 100644
(file)
--- 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());