ScreenCaptureKit: Fix presentation timestamps


The current ScreenCaptureKit backend had a bug where the QVideoFrame
startTime was set to the previous frame's timestamp, and the endTime
set to the current frame's timestamp. startTime should be set to the
current frame's timestamp, and endTime should be set to -1, since
endTime cannot be determined in a live stream with variable framerate.

As a drive-by, we update the documentation to reflect this.

Pick-to: 6.12
Change-Id: I00ed3b788f7d16949cd2d9478b1193182db7602d
Reviewed-by: Tim Blechmann <tim.blechmann@qt.io>
commit5b360062149208bc022b32d7e1042f913f598de4
parentfc2456b85815e1c40d29dc26b3bff1b74d3dc834
authorNils Petter Skålerud <nils.petter.skalerud@qt.io>
committerNils Petter Skålerud <nils.petter.skalerud@qt.io>
commit timeTue, 29 Sep 2026 08:07:59 +0000