Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
fix(enc-avfoundation): satisfy clippy in mp4 encoder tests
Richie McIlroycebe8ce00dca
diff --git a/crates/enc-avfoundation/src/mp4.rs b/crates/enc-avfoundation/src/mp4.rsindex a2d747dfd..93500653a 100644--- a/crates/enc-avfoundation/src/mp4.rs+++ b/crates/enc-avfoundation/src/mp4.rs@@ -922,6 +922,7 @@ fn get_instant_mode_bitrate(width: f32, height: f32, fps: f32) -> f32 {}#[cfg(test)]+#[allow(clippy::items_after_test_module)]mod tests {use super::*;use cap_media_info::RawVideoFormat;@@ -2432,9 +2433,9 @@ mod tests {.scan(0i64, |pts, i| {let current = *pts;let step = match i % 12 {- 0 | 1 | 2 => 8_333,+ 0..=2 => 8_333,3 => 33_333,- 4 | 5 | 6 => 12_000,+ 4..=6 => 12_000,_ => frame_60,};*pts += step;