]> git.sesse.net Git - nageru/commit
Fix crashes when the master clock goes faster than 60 Hz.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 13 Apr 2023 14:58:34 +0000 (16:58 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 13 Apr 2023 15:14:39 +0000 (17:14 +0200)
commitf25cd0c98896013248b79db6ea6f19aaaf0c03ad
treeefdb3bc272f543efef086cfc968c4253e3129b77
parent5d6ba6daaffcddb3aaf1e3c39f80ab4447c0e074
Fix crashes when the master clock goes faster than 60 Hz.

This could happen in particularly when using a video as the master card;
e.g. Larix Broadcaster sometimes sends SRT with 60.06 fps or similar.
We solve it by completely rewriting how DTS is calculated when doing
Quick Sync encoding, which ended up being much simpler than what we
had before (and probably a lot more common)

This essentially removes the meaning of MAX_FPS; we could now easily
do e.g. 144 fps if needed.
nageru/quicksync_encoder.cpp