aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2024-04-23 18:54:34 +0200
committerKostya Shishkov <kostya.shishkov@gmail.com>2024-04-23 18:56:28 +0200
commit2d6ff332983aefe02ee546299c7cdb0aa7b62f52 (patch)
treef3ff7eda235d06e005de019dfe6839f7c69c1095
parenta51efcfd72c37096fb58b5fd8fe9083e477f361b (diff)
downloadnihav-2d6ff332983aefe02ee546299c7cdb0aa7b62f52.tar.gz
registry: add detection rule for ARMovie
-rw-r--r--nihav-registry/src/detect.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/nihav-registry/src/detect.rs b/nihav-registry/src/detect.rs
index cf17875..87226a7 100644
--- a/nihav-registry/src/detect.rs
+++ b/nihav-registry/src/detect.rs
@@ -251,6 +251,11 @@ const DETECTORS: &[DetectConditions] = &[
conditions: &[CheckItem{offs: 0, cond: &CC::Str(b"YUV4MPEG2 ") }],
},
DetectConditions {
+ demux_name: "armovie",
+ extensions: ".rpl",
+ conditions: &[CheckItem{offs: 0, cond: &CC::Str(b"ARMovie\n") }],
+ },
+ DetectConditions {
demux_name: "flv",
extensions: ".flv",
conditions: &[CheckItem{offs: 0, cond: &CC::Str(b"FLV") },