2.0 KiB
QA 16 — Inline Video (macOS Metal only)
- Platform note
- How to run
- Checklist
- 16.1 SKIP [Linux/GL] Placeholder appears after gpu-video-insert
- 16.2 SKIP [Linux/GL] Video plays at the placeholder position
- 16.3 SKIP [Linux/GL] Video follows scroll
- 16.4 SKIP [Linux/GL] Video clipped to window interior
- 16.5 SKIP [Linux/GL] gpu-video-stop removes playback
- 16.6 SKIP [Linux/GL] Cadence — stable 30fps
- 16.7 SKIP [Linux/GL] No interference with text rendering
Platform note
This test applies only to macOS with the Metal backend. Mark all items as SKIP on Linux / GL.
How to run
emacs --no-init-file -l qa/16-video/test.el (provide a .mp4 path when prompted)
Vanilla baseline: N/A (video is a GPU-only feature).
Checklist
TODO 16.1 SKIP [Linux/GL] Placeholder appears after gpu-video-insert
After inserting a video, a blank placeholder (space) must appear at the insertion point. Failure: nothing is inserted, or an error is thrown.
TODO 16.2 SKIP [Linux/GL] Video plays at the placeholder position
When playback starts, the video must appear over the placeholder, not at a fixed screen position. Failure: video appears at the top-left of the frame, or not at all.
TODO 16.3 SKIP [Linux/GL] Video follows scroll
Scroll the buffer while the video is playing. The video must move with the text. Failure: video stays fixed at its initial screen position while the text scrolls underneath.
TODO 16.4 SKIP [Linux/GL] Video clipped to window interior
The video must not bleed over the mode-line or over other windows. Failure: video pixels are visible over the mode-line or in an adjacent split window.
TODO 16.5 SKIP [Linux/GL] gpu-video-stop removes playback
After stopping, the placeholder must remain but the video overlay must disappear. Failure: video frame remains frozen on screen after stop.
TODO 16.6 SKIP [Linux/GL] Cadence — stable 30fps
During playback, the frame rate must be stable (~33ms per frame).
Check with: (setq gpu-video-debug t) and observe the echo area.
Failure: visible stutter (frame drops), or echo area shows >50ms gaps.
TODO 16.7 SKIP [Linux/GL] No interference with text rendering
During video playback, typing text or scrolling must not corrupt the video overlay or the text in the buffer. Failure: video pixels bleed into the text area, or text rendering is corrupted while the video is playing.