shift_preflight/transformer/
video.rs1use crate::policy::Action;
11use anyhow::Result;
12
13pub fn transform_video(_data: &[u8], _action: &Action) -> Result<Vec<u8>> {
17 anyhow::bail!("video transformation is not yet supported (planned for v2)")
18}
19
20#[cfg(test)]
21mod tests {
22 use super::*;
23
24 #[test]
25 fn test_video_transform_not_supported() {
26 let result = transform_video(b"fake video", &Action::Pass);
27 assert!(result.is_err());
28 assert!(result
29 .unwrap_err()
30 .to_string()
31 .contains("not yet supported"));
32 }
33}