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

[WMF] "session close time out!" warning on MediaPlayer destruction

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P3: Somewhat important
    • None
    • 6.2.3
    • Multimedia
    • None
    • Windows 10
    • Windows

    Description

      I have no exact steps or stable reproduction, just sometimes get this warning on time of MediaPlayer destruction.

      void MFPlayerSession::close()
      {
      ...
          HRESULT hr = S_OK;
          if (m_session) {
              m_closing = true;
              hr = m_session->Close();
              if (SUCCEEDED(hr)) {
                  DWORD dwWaitResult = WaitForSingleObject(m_hCloseEvent, 100);
                  if (dwWaitResult == WAIT_TIMEOUT) {
                      qWarning() << "session close time out!";
                  }
              }
               m_closing = false;
          }
      ...
      }

      I don't know if this is something serious, but probably should be replaced with categorized logging.

      Attachments

        Issue Links

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

          Activity

            People

              anrocha André De La Rocha (Inactive)
              studiosus Vladimir Belyavsky
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes