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

Output Error in VideoOutput QML

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.14.0
    • Fix Version/s: 5.14.2, 5.15.0 Alpha
    • Component/s: Multimedia
    • Labels:
      None
    • Environment:
      Android
    • Platform/s:
      Android
    • Commits:
      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

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

            Activity

              People

              Assignee:
              valentyn.doroshchuk Valentyn Doroshchuk
              Reporter:
              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