X-Git-Url: https://git.nihav.org/?p=nihav.git;a=blobdiff_plain;f=nihav-registry%2Fsrc%2Fdetect.rs;h=c51936d3a3c4b22526f4d0317c25802fe3c76834;hp=b883f02112cf5c139041a0f76b2f2be81f0ea2a9;hb=dbb2cbc9c1274135470608275c1893a201cba731;hpb=9610895fc9a99562c79a7bcd0e406437ef94363f diff --git a/nihav-registry/src/detect.rs b/nihav-registry/src/detect.rs index b883f02..c51936d 100644 --- 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")) }], }, + DetectConditions { + demux_name: "yuv4mpeg", + extensions: ".y4m", + conditions: &[CheckItem{offs: 0, cond: &CC::Str(b"YUV4MPEG2 ") }], + }, DetectConditions { demux_name: "fcmp", extensions: ".cmp",