diff --git a/src-tauri/src/capture.rs b/src-tauri/src/capture.rs index 4f4abb5..1006e1b 100644 --- a/src-tauri/src/capture.rs +++ b/src-tauri/src/capture.rs @@ -58,10 +58,7 @@ impl GraphicsCaptureApiHandler for CaptureHandler { }; // Reduce frame rate before scaling to avoid processing unnecessary frames - // NOTE: Do NOT add fps filter here - it mangles timestamps and causes - // double fps conversion when the GIF/video encoder also applies fps filtering. - // The intermediate file keeps the monitor's native refresh rate. - // The export pipeline's fps filter handles the conversion correctly. + filter_parts.push(format!("fps={}", setup.fps)); if working_width > MAX_ENCODE_WIDTH { filter_parts.push(format!("scale={}:-2", MAX_ENCODE_WIDTH));