< prev index next >
modules/media/src/main/java/javafx/scene/media/MediaPlayer.java
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
@@ -2665,15 +2665,12 @@
/**
* WARNING: You must call releaseFrame() on the returned frame when you are
* finished with it or a massive memory leak will occur.
*
* @return the current frame to be used for rendering, or null if not in a render cycle
- * @treatAsPrivate implementation detail
- * @deprecated This is an internal API that is not intended for use and will be removed in the next version
*/
- @Deprecated
- public VideoDataBuffer impl_getLatestFrame() {
+ VideoDataBuffer getLatestFrame() {
synchronized (renderLock) {
if (null != currentRenderFrame) {
currentRenderFrame.holdFrame();
}
return currentRenderFrame;
< prev index next >