Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix(recording): allow too_many_arguments on capture pipeline trait for Windows

Richie McIlroycb830b9c5616
diff --git a/crates/recording/src/capture_pipeline.rs b/crates/recording/src/capture_pipeline.rs
index e9ae13d2b..d9ac53ed0 100644
--- a/crates/recording/src/capture_pipeline.rs
+++ b/crates/recording/src/capture_pipeline.rs
@@ -52,6 +52,7 @@ impl EncoderPreferences {
}
pub trait MakeCapturePipeline: ScreenCaptureFormat + std::fmt::Debug + 'static {
+ #[allow(clippy::too_many_arguments)]
async fn make_studio_mode_pipeline(
screen_capture: screen_capture::VideoSourceConfig,
output_path: PathBuf,
@@ -169,6 +170,7 @@ impl MakeCapturePipeline for screen_capture::CMSampleBufferCapture {
#[cfg(windows)]
impl MakeCapturePipeline for screen_capture::Direct3DCapture {
+ #[allow(clippy::too_many_arguments)]
async fn make_studio_mode_pipeline(
screen_capture: screen_capture::VideoSourceConfig,
output_path: PathBuf,