Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix

Louis Beaumont43a780c02943
diff --git a/screenpipe-core/src/ffmpeg.rs b/screenpipe-core/src/ffmpeg.rs
index 8fb94da28..f367f4438 100644
--- a/screenpipe-core/src/ffmpeg.rs
+++ b/screenpipe-core/src/ffmpeg.rs
@@ -69,18 +69,17 @@ pub fn find_ffmpeg_path() -> Option<PathBuf> {
debug!("ffmpeg not found in Resources folder");
}
}
- }
-
- #[cfg(target_os = "linux")]
- {
- let lib_folder = exe_folder.join("lib");
- debug!("Lib folder: {:?}", lib_folder);
- let ffmpeg_in_lib = lib_folder.join(EXECUTABLE_NAME);
- if ffmpeg_in_lib.exists() {
- debug!("Found ffmpeg in lib folder: {:?}", ffmpeg_in_lib);
- return Some(ffmpeg_in_lib);
- } else {
- debug!("ffmpeg not found in lib folder");
+ #[cfg(target_os = "linux")]
+ {
+ let lib_folder = exe_folder.join("lib");
+ debug!("Lib folder: {:?}", lib_folder);
+ let ffmpeg_in_lib = lib_folder.join(EXECUTABLE_NAME);
+ if ffmpeg_in_lib.exists() {
+ debug!("Found ffmpeg in lib folder: {:?}", ffmpeg_in_lib);
+ return Some(ffmpeg_in_lib);
+ } else {
+ debug!("ffmpeg not found in lib folder");
+ }
}
}