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

WinRT: QCamera assert due to call from the wrong thread

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 5.6.2, 5.7.1
    • 5.6.1
    • Multimedia
    • None
    • Windows 10 (MSVC 2015) on a Dell Venue 8 pro tablet.
    • WinRT

      Calling QCamera::start() on winrt (windows 10) when using the BackFace camera causes the following assert:

      ASSERT failure in bool __thiscall QWinRTCameraControl::setFocus(class
      QFlags<enum QCameraFocus::FocusMode>): "The application called an
      interface that was marshalled for a different thread.", file
      qwinrtcameracontrol.cpp, line 1163

      When using the FrontFace camera it starts fine. The FrontFace camera is also the default camera that is used if the QCamera object is instantiated without indicating which camera to use.

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

            mkalinow Maurice Kalinowski
            rogerio Rogerio Nicolau
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes