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());
Box::new(NullEncoder::new())
}
-pub const NULL_ENCODER: EncoderInfo = EncoderInfo { name: "null", get_encoder: get_encoder };
+pub const NULL_ENCODER: EncoderInfo = EncoderInfo { name: "null", get_encoder };
struct NullMuxer<'a> {
bw: PhantomData<&'a mut ByteWriter<'a>>,