ajasrc: Reset clock after signal loss or signal change and drop a couple of frames after signal recovery
commit 358f41d16792293ac27a8545977b6f0e2ffd0300
Author: Sebastian Dröge <sebastian@centricular.com>
Date: Thu Jun 27 09:55:41 2024 +0300
ajasrc: Drop some frames after signal recovery
After signal recovery the capture times for the next frames are simply
wrong. Experimentally this affected 2-3 frames and seemed to be related
to the buffer fill level after signal recovery, so drop at least 5
frames and up to fill level + 1 frames in this situation.
commit 7c35d424db93ce372951edf17d73e99b2771f9c6
Author: Sebastian Dröge <sebastian@centricular.com>
Date: Thu Jun 27 09:30:27 2024 +0300
ajasrc: Reset clock after signal loss or signal change
Otherwise timestamps would continue as if there was no gap, and the next
frames until the clock has compensated would be all too late.