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

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

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes