-
Bug
-
Resolution: Fixed
-
P4
-
7u10, 7u40
-
Windows XP, Windows-7
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8131480 | 7u40 | Alexander Matveev | P4 | Closed | Fixed |
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.
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.
- backported by
-
JDK-8131480 JavaFx MediaPlayer not release the file handle for the file it played Window specific
-
- Closed
-
- relates to
-
JDK-8118993 Media Objects cannot be closed or released.
-
- Closed
-
-
JDK-8101978 Add explicit dispose() method to MediaPlayer
-
- Closed
-