app: keep a paused clip's layer picture on the pixels it played on
The vendored rune's layer rounded its size and sat at it 1:1, while the window draws a paused clip itself at the exact fractional rect: pausing moved the picture by up to a pixel. The layer's visual now sits at that rect and stretches its buffer onto it (SetTransform2), and the vendored rune takes windows-numerics for the matrix. Also snapshot hooks: LR_DEMO_PLAY starts the demo clip and LR_DEMO_PAUSE_AT pauses it once the clock passes a time.
This commit is contained in:
1 parent
5cbf284841
commit
f3e44a2132
8 files changed
+57
-13
No files matched your search
@@ -48,7 +48,12 @@ the refactors that landed since):
|
||||
clip again. This fixes faults 1 and 2 above.
|
||||
- #1325, two commits: a video's sound is read ahead of the clock on a reader of its own, and
|
||||
the sound leads the clock from the device's own position. This fixes fault 3 above.
|
||||
- one local commit of our own: the layer's visual now sits at the picture's exact (fractional)
|
||||
rect and stretches its buffer onto it with `SetTransform2`. The buffer has even sides (NV12)
|
||||
and the layer rounded its size, so a pause released the layer and the window's own drawing of
|
||||
the clip (at the exact rect) landed up to a pixel off the pixels it played on, and a paused
|
||||
clip visibly jumped.
|
||||
|
||||
`app/Cargo.toml` points `rune`, `rune-kit` and `rune-notify` at the checkout's crates by path.
|
||||
To take a newer upstream rev: fetch in `app/vendor/rune`, rebase or re-apply the four commits
|
||||
To take a newer upstream rev: fetch in `app/vendor/rune`, rebase or re-apply the five commits
|
||||
of `ported` on the new rev.
|
||||
Reference in new issue
Block a user