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

CLONE - Qml camera example not showing any output - Solution provided

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • None
    • 5.3.1, 5.3.2, 5.4.0
    • Multimedia
    • Phone - HTC Desire C, HTC Desire V
      Android version - 4.0.3

      On some devices, the VideoOutput component plugged to a Camera does not render the camera preview. The problem has already been reported several times for HTC devices: QTBUG-37525, QTBUG-40650.
      The problem is that such devices have their aspect ratio of capture resolution slightly different from their aspect ratio of camera preview size. On my device, default resolution for capture is 2592x1952 (aspect ratio=1.328) whereas the default video preview size is 640x480 (aspect ratio=1.333). This causes QAndroidCameraSession::adjustViewfinderSize to never set the video size of the video output which, as a consequence, never renders anything.

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

            ylopes Yoann Lopes
            fmairesse Fabien Mairesse
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes