Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
fix(rendering): tag readahead Media Foundation frames with the source colour matrix
Marcos Daniel Rivera Gonzalez470f90dc0c5e
diff --git a/crates/rendering/src/decoder/media_foundation.rs b/crates/rendering/src/decoder/media_foundation.rsindex 364308272..664fb43ad 100644--- a/crates/rendering/src/decoder/media_foundation.rs+++ b/crates/rendering/src/decoder/media_foundation.rs@@ -379,7 +379,8 @@ impl MFDecoder {if let Some(cached) =cached_frame_for(&cache, last_decoded_frame, frame){- let _ = reply.send(cached.to_decoded_frame());+ let _ =+ reply.send(cached.to_decoded_frame().with_matrix(matrix));readahead_target =readahead_target.max(frame + readahead_frames);cache_min = frame.saturating_sub(FRAME_CACHE_SIZE as u32 / 2);