ScreenCaptureKit: Set streams initial content rect during construction


The stream is reconfigured to a new resolution whenever a frame's
content rect differs from the previous frame's. The previous content
rect was left unset until the first frame arrived. If the window size
changes in between the stream starting and the first frame arriving,
we end up not reconfiguring the stream to match.

This patch makes us assign the content rect immediately when
constructing the stream.

Pick-to: 6.12
Change-Id: I37773a8234c32de3fa7c7dc51a79dbcd1820949e
Reviewed-by: Tim Blechmann <tim.blechmann@qt.io>
commitc9497f9abd7a50d5188527c50268d17a1460a288
parentf9928c9dae4a02a29adc9a5356e0efbda586bb97
authorNils Petter Skålerud <nils.petter.skalerud@qt.io>
committerNils Petter Skålerud <nils.petter.skalerud@qt.io>
commit timeFri, 7 Aug 2026 05:24:32 +0000