Module retime

Source
Expand description

Retime window (Ctrl+R): speed / reverse / freeze for the selected clips (linked clips follow). egui::Window “Speed / Retime”: speed as a percent DragValue (1..10000 %, 100 = normal) + preset buttons (25 % 50 % 100 % 200 % 400 %), “Reverse” checkbox, “Freeze frame at playhead” button (Project::freeze_at(playhead, selection)) and “Unfreeze” (clear freeze), “Apply” → Project::set_speed (shows a note when the new length collides with a neighbour and nothing changed). Shows the resulting duration live. Undo once per applied change. Returns true when the project changed.

Structs§

RetimeUi

Constants§

NO_ROOM 🔒

Functions§

apply_freeze 🔒
Freeze only the clips the playhead is actually over: freeze_at stores src_time(playhead), which is an out-of-range (often negative) source time for a clip elsewhere on the timeline.
apply_speed 🔒
Apply speed/reverse to the selection with a single undo. False (and a note) when nothing changed.
apply_unfreeze 🔒
show