Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Silence unused parameter warning in h264.rs

Richie McIlroy7f8a638e1222
diff --git a/crates/enc-ffmpeg/src/video/h264.rs b/crates/enc-ffmpeg/src/video/h264.rs
index 9a5e8183f..eb793341b 100644
--- a/crates/enc-ffmpeg/src/video/h264.rs
+++ b/crates/enc-ffmpeg/src/video/h264.rs
@@ -590,7 +590,7 @@ fn requires_software_encoder(config: &VideoInfo, preset: H264Preset) -> bool {
false
}
-fn get_default_encoder_priority(config: &VideoInfo) -> &'static [&'static str] {
+fn get_default_encoder_priority(_config: &VideoInfo) -> &'static [&'static str] {
#[cfg(target_os = "macos")]
{
&[