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 encoding issues

Louis Beaumontac622532331a
diff --git a/screenpipe-audio/src/pcm_decode.rs b/screenpipe-audio/src/pcm_decode.rs
index 77c2fc7e3..07b45608c 100644
--- a/screenpipe-audio/src/pcm_decode.rs
+++ b/screenpipe-audio/src/pcm_decode.rs
@@ -20,7 +20,8 @@ pub fn pcm_decode<P: AsRef<std::path::Path>>(path: P) -> anyhow::Result<(Vec<f32
let mss = symphonia::core::io::MediaSourceStream::new(Box::new(src), Default::default());
// Create a probe hint using the file's extension. [Optional]
- let hint = symphonia::core::probe::Hint::new();
+ let mut hint = symphonia::core::probe::Hint::new();
+ hint.with_extension("mp4");
// Use the default options for metadata and format readers.
let meta_opts: symphonia::core::meta::MetadataOptions = Default::default();