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

Premature end of media event on Mac

    Details

      Description


      If you create a function for the onEndOfMedia field in MediaPlayer, it will frequently, but not always, be called prematurely when starting playback. This is most evident in the case where the end of media handler switches media sources when it's finished playing the current media. The problem is that AbstractPlayerPeer does not check for a valid duration when it tests for a few events.

      This was easily reproduced on Mac OS X 10.6, I am not sure if Windows or Linux is affected.

        Attachments

          Activity

            People

            • Assignee:
              ddehaven David Dehaven (Inactive)
              Reporter:
              ddehaven David Dehaven (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: