Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8260973

When calling setStartTime() on MediaPlayer object then media stops smooth play

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      ADDITIONAL SYSTEM INFORMATION :
      Tested on Windows 10, OpenJDK 15.0.1 and OpenJFX 15.0.1

      A DESCRIPTION OF THE PROBLEM :
      I have javaFx application which is live science jdk 1.7 now I am working migration on OpenJDK 15. When I am calling setStartTime() on MediaPlayer the media-file stops smooth play Even it shows blank frame till I click on slider. It's coming with OpenJFX 14 as well.

      REGRESSION : Last worked in version 8

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      just make a call player.setStartTime(Duration.minutes(2)); .
      Time as per you convenience.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Media should play smoothly and there would be no any blank frame.
      ACTUAL -
      Media stops updating frames and at start shows blank frame till I click slider.

      ---------- BEGIN SOURCE ----------
      Can provide Test application which is ready.
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      No Workaround found.

      FREQUENCY : always


        Attachments

        1. MediaBar.java
          5 kB
        2. Player.java
          1 kB
        3. PlayingMedia.java
          3 kB
        4. PlayTestMedia.zip
          33 kB

          Activity

            People

            Assignee:
            almatvee Alexander Matveev
            Reporter:
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: