const SLOTS: usize = 2;
Frames in flight between a capture thread and the encode tick. Two slots: one being blitted by the compositor while the previous one is encoded.