X-Git-Url: https://git.nihav.org/?p=nihav.git;a=blobdiff_plain;f=nihav-ms%2Fsrc%2Fcodecs%2Fmsvideo1enc.rs;h=ff6189b24427ec06bef063fa5b43f12f186bdf94;hp=b2233c230b7de7061dba27371da5c2fb12d72fee;hb=a480a0de101483d802a11e72d758dae00fa4860a;hpb=b4bf2c3f1a94b2b4ebbfc704e17fbaf366f8fa8b diff --git a/nihav-ms/src/codecs/msvideo1enc.rs b/nihav-ms/src/codecs/msvideo1enc.rs index b2233c2..ff6189b 100644 --- a/nihav-ms/src/codecs/msvideo1enc.rs +++ b/nihav-ms/src/codecs/msvideo1enc.rs @@ -432,7 +432,7 @@ impl NAEncoder for MSVideo1Encoder { let out_info = NAVideoInfo::new(vinfo.width, vinfo.height, true, RGB555_FORMAT); let info = NACodecInfo::new("msvideo1", 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(); if self.pool.prealloc_video(out_info, 2).is_err() {