Skip to main content

Module editor_player

Module editor_player 

Source
Expand description

EditorPlayer — the editor’s frame-indexed, variable-rate playback clock (ED.4 / M-EDIT).

The recorder’s Player is wall-clock paced and 1× only. The editor needs a clock that is the single authority over time: it must seek to an exact frame, step one frame at a time, play at a chosen rate, honour in/out points, and loop. Crucially it is built on [wisp_animation::Driver] — the same clock the zoom animation engine (ED.16) samples — so the playhead and the cinematic zoom Tracks advance in lockstep in both realtime preview and deterministic export.

EditorPlayer is a pure clock: it computes current_frame() but does not own the decoder. The preview (ED.6) and export (ED.20) read current_frame() and pull that frame from decode::EditorVideoStream.

Structs§

EditorPlayer
A frame-indexed playback clock over a fixed-length project.