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

QML MediaPlayer only reports position = 0 when paused

    XMLWordPrintable

Details

    • Linux/X11
    • 82367bd22c3d6c793bf05d91b641a3356f687d5b (qt/qtmultimedia/dev)

    Description

      When the media player is in the paused state, it is possible to set the position using setPosition( int milliseconds). This does in fact update the playback position of the video and renders the nearest frame to that position while staying in the paused state, as one might expect.

      However, the positionChanged notifier only returns the value 0 when the player is in the paused state, despite having successfully changed the actual position (as evidenced by the video output rendering the correct frame given the specified time). 

      The positionChanged notifier should return the correct position while in both the Playing and Paused states. I would expect a value of 0 if the playback state is Stopped.

      Attachments

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

        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