Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
fix(enc-avfoundation): rebuild pending sample timing first
Richie McIlroy616b0fcc140e
diff --git a/crates/enc-avfoundation/src/mp4.rs b/crates/enc-avfoundation/src/mp4.rsindex b2293972d..ff4f16705 100644--- a/crates/enc-avfoundation/src/mp4.rs+++ b/crates/enc-avfoundation/src/mp4.rs@@ -799,10 +799,8 @@ impl MP4Encoder {dts: cm::Time::invalid(),};- let timed_frame = match pending- .raw_frame- .copy_with_new_timing(&[timing])- .or_else(|_| rebuild_video_sample_buf(&pending.raw_frame, timing))+ let timed_frame = match rebuild_video_sample_buf(&pending.raw_frame, timing)+ .or_else(|_| pending.raw_frame.copy_with_new_timing(&[timing])){Ok(f) => f,Err(e) => {