Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5.3, 6.6.1, 6.7.0 FF
-
None
-
-
cc8492f75 (dev), a2d802517 (6.7), 19bcacbee (6.6), 8ba632870 (tqtc/lts-6.5)
Description
App hangs sometimes on destroying QML Video during video playback.
The problem is specific for "windows" multimedia backend only.
Code sample:
import QtQuick import QtQuick.Controls import QtMultimedia Window { width: 640 height: 480 visible: true Loader { id: loader anchors.fill: parent active: false sourceComponent: Video { source: 'qrc:/video_hang/test.mp4' loops: -1 Component.onCompleted: play() } } Button { anchors.centerIn: parent text: "Push me!" onClicked: loader.active = !loader.active } }
See full standalone example video_hang.zip
Steps to reproduce:
1. Build and run sample project
2. Rapidly press "Press me!" button multiple times until the app hangs.
Attachments
For Gerrit Dashboard: QTBUG-120266 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
519442,11 | EVRCustomPresenter: fix processing samples by the Scheduler | dev | qt/qtmultimedia | Status: MERGED | +2 | 0 |
526702,2 | Draft: Workaround for lockup when destroying QML video | dev | qt/qtmultimedia | Status: ABANDONED | 0 | 0 |
549349,2 | EVRCustomPresenter: fix processing samples by the Scheduler | 6.7 | qt/qtmultimedia | Status: MERGED | +2 | 0 |
549421,2 | EVRCustomPresenter: fix processing samples by the Scheduler | 6.6 | qt/qtmultimedia | Status: MERGED | +2 | 0 |
549470,2 | EVRCustomPresenter: fix processing samples by the Scheduler | tqtc/lts-6.5 | qt/tqtc-qtmultimedia | Status: MERGED | +2 | 0 |