diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2022-10-13 18:21:33 +0200 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2022-10-13 18:21:33 +0200 |
commit | b8e71e0a090fb00f3b3e97279dd9f65590238f5c (patch) | |
tree | fb5e069b4ff9963dc79a8533edb3ae2976876b82 | |
parent | 735b56ab4e0fd4466b6d031009f9c63f7493b512 (diff) | |
download | nihav-b8e71e0a090fb00f3b3e97279dd9f65590238f5c.tar.gz |
rename Duck IVF format for clarity
-rw-r--r-- | nihav-duck/src/codecs/vp8.rs | 2 | ||||
-rw-r--r-- | nihav-duck/src/demuxers/ivf.rs | 2 | ||||
-rw-r--r-- | nihav-registry/src/detect.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/nihav-duck/src/codecs/vp8.rs b/nihav-duck/src/codecs/vp8.rs index cc2b175..791788a 100644 --- a/nihav-duck/src/codecs/vp8.rs +++ b/nihav-duck/src/codecs/vp8.rs @@ -1551,7 +1551,7 @@ mod test { let mut dec_reg = RegisteredDecoders::new(); duck_register_all_decoders(&mut dec_reg); - test_decoding("ivf", "vp8", name, None, &dmx_reg, + test_decoding("dkivf", "vp8", name, None, &dmx_reg, &dec_reg, ExpectedTestResult::MD5(hash)); } diff --git a/nihav-duck/src/demuxers/ivf.rs b/nihav-duck/src/demuxers/ivf.rs index ba4bb91..09f7257 100644 --- a/nihav-duck/src/demuxers/ivf.rs +++ b/nihav-duck/src/demuxers/ivf.rs @@ -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)] diff --git a/nihav-registry/src/detect.rs b/nihav-registry/src/detect.rs index f273121..67fba70 100644 --- a/nihav-registry/src/detect.rs +++ b/nihav-registry/src/detect.rs @@ -242,7 +242,7 @@ const DETECTORS: &[DetectConditions] = &[ CheckItem{offs: 3, cond: &CC::Le(Arg::Byte(1)) }], }, DetectConditions { - demux_name: "ivf", + demux_name: "dkivf", extensions: ".ivf", conditions: &[CheckItem{offs: 0, cond: &CC::Str(b"DKIF\x00\x00")}, CheckItem{offs: 6, cond: &CC::Ge(Arg::U16LE(32))}], |