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

QMediaPlayer with FFmpeg-Backend moveToThread does not also move the backend

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.6.3
    • Multimedia
    • None

    Description

      When creating a new QMediaPlayer when not in QApplication::instance()->thread() and then moving it there the corresponding instance of QFFmpegMediaPlayer is still in the original thread. This leads to that when setting the source the media never gets loaded because in

              QMetaObject::invokeMethod(this, [this, mediaHolder, cancelToken] {
                  setMediaAsync(mediaHolder, cancelToken);
              }); 

      setMediaAsync never gets called.

       

       

       

      Attachments

        1. QTBUG-125865.zip
          3 kB
          Jonas Noglik
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtmultimediateam Qt Multimedia Team
            tybil Jonas Noglik
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes