fn new_demuxer<'a>(&self, br: &'a mut ByteReader<'a>) -> Box<dyn DemuxCore<'a> + 'a> {
Box::new(IVFDemuxer::new(br))
}
- fn get_name(&self) -> &'static str { "ivf" }
+ fn get_name(&self) -> &'static str { "dkivf" }
}
#[cfg(test)]
#[test]
fn test_ivf_demux() {
+ // sample is from the official VP8 test bitstream set
let mut file = File::open("assets/Duck/VP8/vp80-00-comprehensive-001.ivf").unwrap();
let mut fr = FileReader::new_read(&mut file);
let mut br = ByteReader::new(&mut fr);