Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
Merge remote-tracking branch 'origin/main' into pr-2684
Richie McIlroy8cd771be6550
diff --cc crates/rendering/src/decoder/model/mod.rsindex 881b50926,db96c0672..6e97159a7--- a/crates/rendering/src/decoder/model/mod.rs+++ b/crates/rendering/src/decoder/model/mod.rs@@@ -11,9 -11,10 +11,10 @@@//!//! Reference rule (the decoder contract documented next to `pts_to_frame`)://! a sample is labelled `round(fps * pts_seconds)` on the decoder grid, where-//! FFmpeg measures pts from the stream start time and AVAssetReader from-//! zero. A request for time `t` asks for grid index `request_frame(t, fps)`,-//! `floor(t * fps)` with a few f32 steps of slack for the request time. The-//! correct answer is the newest sample whose label is at or before that index+//! both decoders preserve the stream's presentation timeline. A request for- //! time `t` asks for grid index `floor(t * fps)`. The correct answer is the- //! newest sample whose label is at or before that index++//! time `t` asks for grid index `request_frame(t, fps)`, `floor(t * fps)`++//! with a few f32 steps of slack for the request time. The correct answer is++//! the newest sample whose label is at or before that index//! (the frame on screen at `t`); when several samples share that label any of//! them is accepted. A request before the first sample is answered with the//! first sample.