WMF: update media status before starting playback


Update mediaStatus before calling m_session->start() in
handleStatusChanged(). After f1173711fefefc6f6367a451d549b9f08205469c
devirtualized mediaStatus(), MFPlayerSession::status() reads from
QPlatformMediaPlayer::m_status which was only updated at the end of
handleStatusChanged(). This caused start() to see a stale status value,
skip updateOutputRouting(), and Media Foundation would silently stop
playback ~400ms later.

Pick-to: 6.11 6.12
Fixes: QTBUG-149346
Change-Id: Id656376fa9f6c0cdeeb3f6ad94091a622a5ca8d7
Reviewed-by: Tim Blechmann <tim.blechmann@qt.io>
commit96ebbdb3f044df4200c7b10f62b7e252981cecb2
parent2c0e7be3799ece97cc6251a0ae8a4e016597367e
authorVladimir Belyavsky <belyavskyv@gmail.com>
committerVladimir Belyavsky <belyavskyv@gmail.com>
commit timeThu, 20 Aug 2026 15:08:22 +0000