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

Seek in QML Audio after stop

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.3.0 RC1
    • 5.2.1
    • None
    • Win7 Home Basic x64 SP1
    • bfccbcfc4edf65e31fe4b086013e1bf132e9b047

    Description

      I try to execute example Quick Player. When playback is completed(status - stopped), i set position slider to the free value and record start to play from this point without changing playbackState and position properties.
      I make small changes to illustarte my problem.
      main.qml:

      MediaPlayer {
      ...
      onPlaybackStateChanged: {
      print("State:" + playbackState);
      }
      onPositionChanged:{
      print ("Pos:" + position);
      }
      }

      And that's what i've got:

      State:1 // Start playback
      Pos:700
      Pos:1714
      Pos:2728
      Pos:3742
      Pos:4756
      Pos:5770
      Pos:6784
      Pos:7517
      State:0 // Stop playback
      Pos:1500 // Seek
      Pos:7517 // Stop playback
      Pos:756 // Seek
      Pos:7517 // Stop playback
      Pos:1576 // Seek
      Pos:7517 // Stop playback

      I really hope you will fix this error as fast as it can be. I need your help at this situation very much. Otherwise our startup will fail.

      Attachments

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

        Activity

          People

            ylopes Yoann Lopes
            roumed Roman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes