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

QML MediaPlayer is loosing the video suface.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.3.0 Beta1
    • 5.2.0, 5.2.1
    • Multimedia
    • None
    • Bug reproduced on Allwinner A31 Droid 4.2.2, Samsung Galaxy Tab 2 Droid 4.4.2, Nexus 4 Droid 4.4.2
    • Android
    • dcf11bba3ccfd2a2a44556b1947406947aaa2be1

    Description

      QML MediaPlayer doesn't show the video after you call stop and play a few times.
      This behaviour does not change if you use a different source for each play() you call.

      I've done some debugging and QAndroidVideoRendererControl::onFrameAvailable() is not being called when the bug happens.

      QML MediaPlayer sometimes fails to stop a video and if you persist you get:
      stop called in state 4

      Attempt to call getDuration without a valid media player
      error (-38, 0)
      Error (-38,0)

      Android shows ANR Dialog and
      If I try to play again I get

      prepareAsync called in state 1

      Logcat attached.

      If more information or debug help is needed feel free to contact me:
      plus.google.com/+FlávioPontes3301

      Attachments

        1. logcat.txt
          7 kB
        2. qt_qml_video.txt
          24 kB
        3. traces.txt
          117 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            stromme Christian
            laureon Flávio Pontes
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes