diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2023-09-02 17:45:27 +0200 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2023-09-02 17:46:15 +0200 |
commit | fead60e32f35ca21262769174a23f6b4735bf28e (patch) | |
tree | 758240f38087718bdda1423eebdb8ed224e85b9c /nihav-registry/src | |
parent | bc22bba650c0ad4cd84d748468539b5dae982dc5 (diff) | |
download | nihav-fead60e32f35ca21262769174a23f6b4735bf28e.tar.gz |
add (limited) support for Digital Pictures SGA format
Diffstat (limited to 'nihav-registry/src')
-rw-r--r-- | nihav-registry/src/detect.rs | 5 | ||||
-rw-r--r-- | nihav-registry/src/register.rs | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/nihav-registry/src/detect.rs b/nihav-registry/src/detect.rs index 3c5a60a..6603c0d 100644 --- a/nihav-registry/src/detect.rs +++ b/nihav-registry/src/detect.rs @@ -404,6 +404,11 @@ const DETECTORS: &[DetectConditions] = &[ CheckItem{offs: 32, cond: &CC::Str(b"DATA")}], }, DetectConditions { + demux_name: "sga", + extensions: ".dtv,.avc", + conditions: &[], + }, + DetectConditions { demux_name: "vmd", extensions: ".vmd", conditions: &[], diff --git a/nihav-registry/src/register.rs b/nihav-registry/src/register.rs index 7bfd172..ac6feca 100644 --- a/nihav-registry/src/register.rs +++ b/nihav-registry/src/register.rs @@ -245,6 +245,7 @@ static CODEC_REGISTER: &[CodecDescription] = &[ desc!(audio; "bmv-audio", "BMV audio"), desc!(video; "bmv3-video", "DW Noir BMV video"), desc!(audio; "bmv3-audio", "DW Noir BMV audio"), + desc!(video; "dp-sga", "Digital Pictures SGA video"), desc!(video; "fable-imax", "Fable IMAX video"), desc!(video; "fst-video", "FutureVision video"), desc!(audio; "fst-audio", "FutureVision audio"), |