Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-96074 Qt Multimedia bug fixes for Android
  3. QTBUG-96078

declarative-camera crashes when switching cameras

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Done
    • P2: Important
    • 6.2.0 Beta4, 6.3.0 Alpha
    • None
    • None
    • 2021wk38POAndroid&Mobile, 2021wk40POAndroid&Mobile, 2021wk42POAndroid&Mobile, 2021wk44POAndroid&Mobile, 2021wk46POAndroid&Mobile, 2022wk24FOQtforAndroid, 2022wk28FOQtforAndroid, 2022wk30FOQtforAndroid, 2022wk34FOQtforAndroid, 2022wk36FOQtforAndroid, 2022wk38FOQtforAndroid, 2022wk40FOQtforAndroid, 2022wk42FOQtforAndroid, 2022wk44FOQtforAndroid
    • 970dadd763bffa086bc702ab93a367f6a788f40d (qt/qtmultimedia/dev) 46d5c59593534d614ec484c18f72d4e0c7c7c356 (qt/qtmultimedia/6.2)

    Description

      The declarative-camera example crashes when switching devices. It seems that after the disabling the camera and enabling it again, the new frame sent via

      void QAndroidTextureVideoOutput::onFrameAvailable() {
      ...
          m_sink->platformVideoSink()->newVideoFrame(frame);
      }

      is corrupted when received at qvideotexturehelper.cpp::updateUniformData(). Setting some custom QString field data into the frame before notifying and sending the frame, and printing it afterwards when received, prints a corrupted string.

      Attachments

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

        Activity

          People

            assam Assam Boudjelthia
            assam Assam Boudjelthia
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes