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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 7u10, 7u40
    • Fix Version/s: 8
    • Component/s: javafx
    • Environment:

      Windows XP, Windows-7

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported: