diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2019-02-16 12:23:57 +0100 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2019-02-16 12:23:57 +0100 |
commit | 9895bd7b1732a96f0b3f61bf7c95ba342bd08b1e (patch) | |
tree | 8ae4f540a20ebc17d2ecc2bc9f74c340b1c23eb5 /nihav-core/src | |
parent | af37e28afd991bca600b97a1cb97bc3ad358bc4f (diff) | |
download | nihav-9895bd7b1732a96f0b3f61bf7c95ba342bd08b1e.tar.gz |
VMD demuxer and decoder
Diffstat (limited to 'nihav-core/src')
-rw-r--r-- | nihav-core/src/detect.rs | 5 | ||||
-rw-r--r-- | nihav-core/src/register.rs | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/nihav-core/src/detect.rs b/nihav-core/src/detect.rs index 0285e64..17b1411 100644 --- a/nihav-core/src/detect.rs +++ b/nihav-core/src/detect.rs @@ -211,6 +211,11 @@ const DETECTORS: &[DetectConditions] = &[ extensions: ".bmv", conditions: &[], }, + DetectConditions { + demux_name: "vmd", + extensions: ".vmd", + conditions: &[], + }, ]; pub fn detect_format(name: &str, src: &mut ByteReader) -> Option<(&'static str, DetectionScore)> { diff --git a/nihav-core/src/register.rs b/nihav-core/src/register.rs index 8d6bab4..56d2cfc 100644 --- a/nihav-core/src/register.rs +++ b/nihav-core/src/register.rs @@ -165,6 +165,8 @@ static CODEC_REGISTER: &'static [CodecDescription] = &[ desc!(audio; "gdv-audio", "Gremlin Digital Video - audio"), desc!(video; "bmv-video", "BMV video"), desc!(audio; "bmv-audio", "BMV audio"), + desc!(video; "vmd-video", "VMD video"), + desc!(audio; "vmd-audio", "VMD audio"), desc!(video; "smacker-video", "Smacker video"), desc!(audio; "smacker-audio", "Smacker audio"), |