FrameGrabber: Derive frame timeouts from the expected frame rate


Tests that limit the capture frame rate waited for the full global
timeout before giving up on a missing frame.

This patch lets FrameGrabber::durationBetweenFrames() and
waitAndTake*() take the expected frame rate, so they time out shortly
after a frame is overdue. The first frame keeps the global timeout.

Pick-to: 6.12
Change-Id: I5a0483bf8c445fc2fe260e608ef7f2e3ac209b84
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
Reviewed-by: Tim Blechmann <tim.blechmann@qt.io>
commit316df624a55da48e16f84534e95e13992863317e
parentde1c70f3eb78506b8866d907f30d792eb77e37d6
authorNils Petter Skålerud <nils.petter.skalerud@qt.io>
committerNils Petter Skålerud <nils.petter.skalerud@qt.io>
commit timeFri, 16 Oct 2026 14:36:43 +0000