shift_preflight/inspector/
video.rs1use super::ImageMetadata;
10use anyhow::Result;
11
12pub fn inspect_bytes(_data: &[u8]) -> Result<ImageMetadata> {
16 anyhow::bail!("video inspection is not yet supported (planned for v2)")
17}
18
19#[cfg(test)]
20mod tests {
21 use super::*;
22
23 #[test]
24 fn test_video_not_supported() {
25 let result = inspect_bytes(b"fake video data");
26 assert!(result.is_err());
27 assert!(result
28 .unwrap_err()
29 .to_string()
30 .contains("not yet supported"));
31 }
32}