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

JavaFX MediaPlayer hanging while seeking in a video

XMLWordPrintable

      Occasional hang happens sometimes while seeking in a video.

      The MediaPlayer sometimes hangs with the following (partial) stack trace:

      JavaFX Application Thread" #12 daemon prio=5 os_prio=31 tid=0x00007fff28993800 nid=0xa0b runnable [0x00007fff5686a000] java.lang.Thread.State: RUNNABLE at
      com.sun.media.jfxmediaimpl.platform.osx.OSXMediaPlayer.osxGetDuration(Native Method) at
      com.sun.media.jfxmediaimpl.platform.osx.OSXMediaPlayer.playerGetDuration(OSXMediaPlayer.java:144) at
      com.sun.media.jfxmediaimpl.NativeMediaPlayer.getDuration(NativeMediaPlayer.java:1160)
      at javafx.scene.media.MediaPlayer.seek(MediaPlayer.java:1386)
      - locked <0x00000007934f60f0> (a java.lang.Object)

            scfitch Stephen Fitch
            shadowbug Shadow Bug
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: