Darwin: propagate known video size to newly attached video sink


AVFMediaPlayer forwarded presentationSize changes to the current sink
only, so a sink attached after the media was loaded stayed without a
size. Keep the last known size and apply it in setVideoSink(), and
reset it on setMedia().

Also ignore the empty presentationSize reported before the size is
known, which caused an extra videoSizeChanged emission.

Unskip setMedia_setsVideoSinkSize_beforePlaying on Darwin.

Pick-to: 6.12
Change-Id: Ia42a6db5414d736a7ab4b821ce50cc4918a15b55
Reviewed-by: Tim Blechmann <tim.blechmann@qt.io>
commitddbfa91ceedfa3d990e9aa9b870618a7b069ae60
parent48c8d46b9bcb6b9e275d8a65ea9b2fee41976534
authorVladimir Belyavsky <belyavskyv@gmail.com>
committerVladimir Belyavsky <belyavskyv@gmail.com>
commit timeWed, 21 Oct 2026 05:51:34 +0000