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

Output Error in VideoOutput QML

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.14.2, 5.15.0 Alpha
    • 5.14.0
    • Multimedia
    • None
    • Android
    • Android
    • d63921355aacf5cbd5189ffdbe4d23b9ff318bee (qt/qtmultimedia/5.14)

    Description

      Previously, applications were developed on version 5.13.1, everything worked perfectly, with the release of version 5.14 I decided to transfer applications to a newer version, when compiling the application I got a white screen on the VideoOutput component, as a result of which the application does not work properly. BUT, saving the image from the camera completely saves it in the right form, it just doesn’t display (on the version from the PC MinGW works fine), here is the code for displaying the error:

       

      import QtQuick 2.14 // 2.13 to not working
      import QtQuick.Window 2.14 // 2.13 to not working
      import QtMultimedia 5.14 // 2.13 to not working
      
      Window {
          visible: true
          width: 640
          height: 480
          title: qsTr("Hello World")
      
          VideoOutput {
              id: vo;
              width: parent.width;
              height: parent.height;
      
              fillMode: VideoOutput.PreserveAspectCrop;
              autoOrientation: true;
              source: camera;
      
              Camera {
                  id: camera;
                  captureMode: Camera.CaptureViewfinder;
              }
          }
      }
      

      P.S. Build using Clang 5.14 for Android
       

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-81006
          # Subject Branch Project Status CR V

          Activity

            People

              valentyn.doroshchuk Valentyn Doroshchuk
              kitsorik Rostyslav Pidburachynskyi
              Votes:
              5 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes