- 
    
Bug
 - 
    Resolution: Done
 - 
    
P1: Critical
 - 
    5.15.8
 
- 
        
 - 
        fd8b8107e3 (qt/tqtc-qtmultimedia/5.15)
 
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.