Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-57707

Media Player didn't work on WinRT

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.8
    • 5.7.1
    • Multimedia
    • None
    • WinRT
    • 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.)

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            owolff Oliver Wolff
            benoitgradit BenoƮt Gradit
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes