Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.7.1
-
None
-
-
fc50058455536b857d101166f8c003e83aed4f99
Description
Playing video on WinRT didn't work at all, the video didn't start and nothing is displayed even with a simple exemple:
MediaPlayer {
id: player
source: '<--- any source --->'
}
VideoOutput {
anchors.fill: parent
source: player
}
MouseArea {
anchors.fill: parent
onPressed: player.play()
}
the output console says:
D3D11 ERROR: ID3D11Device::CreateTexture2D: The Dimensions are invalid. For feature level D3D_FEATURE_LEVEL_11_1, the Width (value = -1) must be between 1 and 16384, inclusively. The Height (value = -1) must be between 1 and 16384, inclusively. And, the ArraySize (value = 1) must be between 1 and 2048, inclusively. [ STATE_CREATION ERROR #101: CREATETEXTURE2D_INVALIDDIMENSIONS]
D3D11 ERROR: ID3D11Device::CreateTexture2D: Returning E_INVALIDARG, meaning invalid parameters were passed. [ STATE_CREATION ERROR #104: CREATETEXTURE2D_INVALIDARG_RETURN]
Failed to get create video texture (Invalid Parameter.)