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

MediaPlayer QML element with GStreamer backend can't seek

    XMLWordPrintable

Details

    • Linux/X11
    • 0de7ff081f6d75122d2186d399a6f06cd865978e (qt/qtmultimedia/dev)

    Description

      Using the latest code in the QtMultimedia repo, and running the example project multimedia/video/mediaplayer, the seekable state of the MediaPlayer always appears to be false after loading a video file and the seek bar cannot be used.

      Looking at the code for QGstreamerMediaPlayer, the setSeekable only seems to be called once ever with the value false:

      switch (newState) {
              case GST_STATE_VOID_PENDING:
              case GST_STATE_NULL:
              case GST_STATE_READY:
                  setSeekable(false);
                  break;
      

      Also, the seek() function that the docs describe does not exist, and I am wondering if it may have been deprecated.

      That said, the position property does seem to work.

      Attachments

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

        Activity

          People

            laknoll Lars Knoll
            spiderkeys Charles Cross
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes