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

MediaPlayer QML element with GStreamer backend can't seek

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 6.2.0 Beta1
    • Fix Version/s: 6.2.0 Beta3, 6.3.0 Alpha
    • Component/s: Multimedia
    • Labels:
      None
    • Platform/s:
      Linux/X11
    • Commits:
      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

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

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes