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

QCameraFormat reported as supported but causes error when applied

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.9
    • Multimedia
    • Android
    • Multimedia Next Next

    Description

      When applying certain formats that are exposed by QCameraFormat, to a QCamera, the format property will be accepted and updated but the QCamera will signal an error and stop submitting.

      This should either be fixed, or we should stop exposing formats that we don't support.

      Additionally, when selecting such a format, the QCamera will correctly update the "active" property as false, but if the user then tries to select a format that will usually work correctly and set active to true, then nothing happens.

      This issue has only been reproduced on my Motorola Razr 40 Ultra, running Android 15

      Steps to reproduce:

      • QCamera's current QCameraDevice has the videoFormat property that includes the format (176x144, YUV420P, 60FPS)
      • Apply this format to QCamera: QCamera signals error, updates 'cameraFormat' property as if it was accepted, sets 'active' property to false
      • User can still set 'active' property to true, and this is accepted even though format is still set to the unusable format. The correct behavior here would be to ignore the 'active = true' request if we can't successfully go active.
      • User can change format to a working with 'active' set to true, but nothing happen. the correct behavior here would be to properly establish the camera feed again.

      Attachments

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

        Activity

          People

            qtmultimediateam Qt Multimedia Team
            npskalerud Nils Petter Skålerud
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes