Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

refactor: remove duplicate VideoRecordingMetadata struct definition

David Anyatonwuc21c44bca290
diff --git a/apps/desktop/src-tauri/src/lib.rs b/apps/desktop/src-tauri/src/lib.rs
index a67d28aa0..6e8562170 100644
--- a/apps/desktop/src-tauri/src/lib.rs
+++ b/apps/desktop/src-tauri/src/lib.rs
@@ -941,11 +941,6 @@ async fn copy_video_to_clipboard(
}
-#[derive(Serialize, Deserialize, specta::Type)]
-pub struct VideoRecordingMetadata {
- duration: f64,
- size: f64,
-}
// Helper function to estimate rendered file size based on duration and quality
fn estimate_rendered_size(duration: f64) -> f64 {