Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-131674 Improve QMediaDevices behavior
  3. QTBUG-131927

Correct media device comparison behavior

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Unresolved
    • P2: Important
    • None
    • Multimedia
    • None
    • All
    • Multimedia wk 49-50, Multimedia wk 51-2

    Description

      Currently, QAudioDevice and QCameraDevice will rely on several members to compare them.

      Many of the members in these structs are cached, and are not updated to reflect reality when devices are disconnected and reconnected. This means that if you compare a QAudioDevice with a newer instance from QMediaDevices::audioInputs(), the comparison will fail even though they represent the same physical device.

      This issue should not be closed until the behavior is corrected and documented.

      As discussed in QTBUG-131674, these should only compare IDs of the devices to see if they are referring to the same physical device.

      Attachments

        For Gerrit Dashboard: QTBUG-131927
        # Subject Branch Project Status CR V

        Activity

          People

            npskalerud Nils Petter Skålerud
            npskalerud Nils Petter Skålerud
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change