diff options
author | André de la Rocha <andre.rocha@qt.io> | 2022-03-16 21:24:05 -0300 |
---|---|---|
committer | André de la Rocha <andre.rocha@qt.io> | 2022-03-17 09:35:23 -0300 |
commit | 525e2f4c2c613adaa18658467cff5503ad11332e (patch) | |
tree | 7782ed9519fbb480241074797edf53212cdf9660 /src/multimedia/platform/windows/player/mfplayersession_p.h | |
parent | 70324f3ab4f54cf6d522079aa4bd77869b51c93b (diff) |
Windows: Rework workaround for WMF issue
What seems to be a WMF issue was causing a crash with specific videos
and also issues when changing position of flac files. A previous
workaround for it was depending on the way the media playing was started
and thus seemed to fix the issue when tested with the Widgets-based
Media Player example, but still failed with the QML-based one. This
patch seems to fix it for all cases.
Fixes: QTBUG-100854
Fixes: QTBUG-100181
Change-Id: I7e46d72b5e656383442d2866ef93f3183c9f9fa7
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
(cherry picked from commit b068cb359996d0a5125b3b8bc341854674b7cbb7)
Reviewed-by: André de la Rocha <andre.rocha@qt.io>
Diffstat (limited to 'src/multimedia/platform/windows/player/mfplayersession_p.h')
-rw-r--r-- | src/multimedia/platform/windows/player/mfplayersession_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/multimedia/platform/windows/player/mfplayersession_p.h b/src/multimedia/platform/windows/player/mfplayersession_p.h index a8456f641..8f1af9f8b 100644 --- a/src/multimedia/platform/windows/player/mfplayersession_p.h +++ b/src/multimedia/platform/windows/player/mfplayersession_p.h @@ -177,6 +177,7 @@ private: qint64 m_lastSeekPos = 0; MFTIME m_lastSeekSysTime = 0; bool m_altTiming = false; + bool m_updateRoutingOnStart = false; enum Command { |