Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.6.0
-
None
-
OS: Windows 10 32 bit
Qt: 5.6.0 32bit MSVC2013 (official) with included multimedia
-
fd89c0946a378812121615ab6b8a3ad1ae93d4fb
Description
This code causes an application crash:
import QtQuick 2.3 import QtQuick.Window 2.2 import QtMultimedia 5.0 Window { visible: true Loader { id: loader anchors.fill: parent sourceComponent: videoContainer } Component { id: videoContainer Video { autoPlay: true source: "qrc:/video.avi" } // Image { // source: "qrc:/picture.png" // } } Timer { id: t interval: 500 // you can vary this value running: true repeat: true property bool toggled; onTriggered: { toggled = !toggled; loader.sourceComponent = toggled ? null : videoContainer } } }
The problem is in multimedia plugin with the video (at least with the video, because I did not checked with the audio yet), because if I do same with the image, then I do not see any problems.
The simple application to reproduce a test is in attachment.
Attachments
Issue Links
- relates to
-
QTBUG-53231 [Windows][Directshow] Qt may crash after using MediaPlayer element
- Closed
- resulted in
-
QTBUG-55264 [Reg] Directshow no longer rendering video
- Closed