diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2020-10-04 11:53:21 +0200 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2020-10-04 11:53:21 +0200 |
commit | a480a0de101483d802a11e72d758dae00fa4860a (patch) | |
tree | b433ba04fc397f6e7297aeb56103105254dcb3f7 /nihav-commonfmt/src/codecs/cinepakenc.rs | |
parent | b4bf2c3f1a94b2b4ebbfc704e17fbaf366f8fa8b (diff) | |
download | nihav-a480a0de101483d802a11e72d758dae00fa4860a.tar.gz |
introduce stream and container duration
Diffstat (limited to 'nihav-commonfmt/src/codecs/cinepakenc.rs')
-rw-r--r-- | nihav-commonfmt/src/codecs/cinepakenc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nihav-commonfmt/src/codecs/cinepakenc.rs b/nihav-commonfmt/src/codecs/cinepakenc.rs index a7cf8c0..d81d893 100644 --- a/nihav-commonfmt/src/codecs/cinepakenc.rs +++ b/nihav-commonfmt/src/codecs/cinepakenc.rs @@ -944,7 +944,7 @@ impl NAEncoder for CinepakEncoder { let out_info = NAVideoInfo::new(vinfo.width, vinfo.height, false, vinfo.format); let info = NACodecInfo::new("cinepak", NACodecTypeInfo::Video(out_info), None); - let mut stream = NAStream::new(StreamType::Video, stream_id, info, encinfo.tb_num, encinfo.tb_den); + let mut stream = NAStream::new(StreamType::Video, stream_id, info, encinfo.tb_num, encinfo.tb_den, 0); stream.set_num(stream_id as usize); let stream = stream.into_ref(); |