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

Mac creating two MediaPlayer where one plays H.264 content inconsistent state

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 8
    • 7u6
    • javafx
    • MacOS 10.7.4, Java 7u7

      On MacOS, when creating two MediaPlayer instances with one containing H.264 media, the media player state is messed up. E.g.:

        - The state (playing, paused, stopped) is incorrect
        - The playing time events are not sent correctly

      It does not matter whether the two media are from different URLs, from the same URL or even the same Media object.

      A reproducer is attached (based on the MediaPlayer sample available from Oracle). It shows the problem with two stages having a MediaPlayer and a MediaView each in the following scenarios:

        - a flash media and a H.264 media
        - two H.264 media from different URLs
        - two H.264 media from the same URL

      This does not happen when there are two flash videos being used or when only a single MediaPlayer is created.

      Running the reproducer on Windows XP with DivX codecs installed does not show this behavior.

            almatvee Alexander Matveev
            fbrucknerjfx Florian Bruckner (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: