Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.15.8
-
-
fd8b8107e3 (qt/tqtc-qtmultimedia/5.15)
Description
The app crashes with QML MediaPlayer.play() when
main.cpp
QCoreApplication::setAttribute (Qt::AA_UseOpenGLES);
main.qml
MediaPlayer {
id:player
...
source: Qt.resolvedUrl("sample.mp4")
...
}
VideoOutput {
id: vo
opacity: 0
source: player
flushMode: VideoOutput.LastFrame
onContentRectChanged: {
vo.opacity = 1
}
}
When it crashes/hangs, the dialog appears
Sample code is attached qtbug102316-QtQMLVideoSample.zip. Please run and click the window to execute play().
This works fine with Qt5.15.6 or 5.15.7.
Attachments
For Gerrit Dashboard: QTBUG-102316 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
405799,2 | Initialize m_material to nullptr | tqtc/lts-5.15 | qt/tqtc-qtmultimedia | Status: MERGED | +2 | 0 |