From: Kostya Shishkov Date: Fri, 28 Aug 2026 14:49:44 +0000 (+0200) Subject: avi: support greyscale raw video X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=a8cdeaa8f76b5b6d8c2493f674137b721afc199a;p=nihav.git avi: support greyscale raw video --- diff --git a/nihav-commonfmt/src/demuxers/avi.rs b/nihav-commonfmt/src/demuxers/avi.rs index 1885d03..a7c6313 100644 --- a/nihav-commonfmt/src/demuxers/avi.rs +++ b/nihav-commonfmt/src/demuxers/avi.rs @@ -905,6 +905,7 @@ fn find_raw_yuv_fmt(compr: &[u8; 4], vhdr: &mut NAVideoInfo) -> bool { b"I420" | b"IYUV" => ("yuv420p", false), b"YV12" => ("yuv420p", true), b"YVU9" => ("yuv410p", true), + b"Y800" | b"Y8 " => ("grey", false), _ => return false, }; if let Ok(fmt) = NAPixelFormaton::from_str(fmt_name) {