projects
/
nihav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
YUV4MPEG demuxer
[nihav.git]
/
nihav-registry
/
src
/
detect.rs
diff --git
a/nihav-registry/src/detect.rs
b/nihav-registry/src/detect.rs
index b883f02112cf5c139041a0f76b2f2be81f0ea2a9..c51936d3a3c4b22526f4d0317c25802fe3c76834 100644
(file)
--- a/
nihav-registry/src/detect.rs
+++ b/
nihav-registry/src/detect.rs
@@
-230,6
+230,11
@@
const DETECTORS: &[DetectConditions] = &[
&CC::Str(b"moov")),
&CC::Str(b"ftyp")) }],
},
&CC::Str(b"moov")),
&CC::Str(b"ftyp")) }],
},
+ DetectConditions {
+ demux_name: "yuv4mpeg",
+ extensions: ".y4m",
+ conditions: &[CheckItem{offs: 0, cond: &CC::Str(b"YUV4MPEG2 ") }],
+ },
DetectConditions {
demux_name: "fcmp",
extensions: ".cmp",
DetectConditions {
demux_name: "fcmp",
extensions: ".cmp",