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

QCameraInfo::availableCameras() is not updated if a camera is disconnected or when a new camera is connected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 5.5.0
    • 5.3.0, 5.4.0
    • Multimedia
    • None
    • Windows
    • 8923c0ff6b7b3d907c3500618b3234266a0ac31b, 0e161675e6014faeeaa490a9c73a62c1577c674e, def89d71716c7909351f6ccce512a0bff6492417, f9145aca166ad2ca1514524ce88ded7834eb207c

      The static function QCameraInfo::availableCameras() doesn't seem to return the real list of available camera devices, since if the user connects or disconnects a camera after the application has been restarted, it always returns the same list of camera info elements. It seems this information is being cached at the first call and then no longer updated for some reason.

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

            ylopes Yoann Lopes
            eyenov Rafael Bastos
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes