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

JavaFx MediaPlayer not release the file handle for the file it played Window specific

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 7u10, 7u40
    • javafx
    • Windows XP, Windows-7

        Hi,

        There is no way to unload video file from the MediaPlayer.
        MediaPlayer holds the file handle for the file which it played.
        Suppose I have some of the video file a.mp4,b.mp4,c.mp4,d.mp4.
        If I load a.mp4 file and then again load the b.mp4 file and now I wants to delete a.mp4 file from my localHD, I am not able to delete the file as it is still being in used.

        Is there any way to unload file from the MediaPlayer Object.

        This bug is windows specific Working properly on Mac-OSX.

              almatvee Alexander Matveev
              rahuljfx Rahul (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported: