rename Duck IVF format for clarity
[nihav.git] / nihav-duck / src / demuxers / ivf.rs
index 7d444604ea77f415e472cbe519b16b162cd2f4a2..09f725719ecbf5eb97c9ec0b5114dbc0a303f3eb 100644 (file)
@@ -87,7 +87,7 @@ impl DemuxerCreator for IVFDemuxerCreator {
     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)]
@@ -97,6 +97,7 @@ mod 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);