final class com.sun.javafx.webkit.prism.WCMediaPlayerImpl extends com.sun.webkit.graphics.WCMediaPlayer implements com.sun.media.jfxmedia.events.PlayerStateListener, com.sun.media.jfxmedia.events.MediaErrorListener, com.sun.media.jfxmedia.events.VideoTrackSizeListener, com.sun.media.jfxmedia.events.BufferListener, com.sun.media.jfxmedia.events.PlayerTimeListener
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.javafx.webkit.prism.WCMediaPlayerImpl
super_class: com.sun.webkit.graphics.WCMediaPlayer
{
private final java.lang.Object lock;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile com.sun.media.jfxmedia.MediaPlayer player;
descriptor: Lcom/sun/media/jfxmedia/MediaPlayer;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile com.sun.javafx.webkit.prism.WCMediaPlayerImpl$CreateThread createThread;
descriptor: Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl$CreateThread;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile com.sun.javafx.media.PrismMediaFrameHandler frameHandler;
descriptor: Lcom/sun/javafx/media/PrismMediaFrameHandler;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final com.sun.javafx.webkit.prism.WCMediaPlayerImpl$MediaFrameListener frameListener;
descriptor: Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl$MediaFrameListener;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean gotFirstFrame;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int finished;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private float bufferedStart;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private float bufferedEnd;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private boolean buffering;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.webkit.graphics.WCMediaPlayer.<init>:()V
1: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.lock:Ljava/lang/Object;
2: aload 0
iconst_0
putfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.gotFirstFrame:Z
3: aload 0
iconst_0
putfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.finished:I
4: aload 0
fconst_0
putfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.bufferedStart:F
5: aload 0
fconst_0
putfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.bufferedEnd:F
6: aload 0
iconst_0
putfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.buffering:Z
7: aload 0
new com.sun.javafx.webkit.prism.WCMediaPlayerImpl$MediaFrameListener
dup
aload 0
invokespecial com.sun.javafx.webkit.prism.WCMediaPlayerImpl$MediaFrameListener.<init>:(Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;)V
putfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.frameListener:Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl$MediaFrameListener;
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;
private com.sun.media.jfxmedia.MediaPlayer getPlayer();
descriptor: ()Lcom/sun/media/jfxmedia/MediaPlayer;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.lock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.createThread:Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl$CreateThread;
ifnull 4
2: aload 1
monitorexit
3: aconst_null
areturn
4: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.player:Lcom/sun/media/jfxmedia/MediaPlayer;
aload 1
monitorexit
5: areturn
6: StackMap locals:
StackMap stack: java.lang.Throwable
aload 1
monitorexit
7: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;
Exception table:
from to target type
1 3 6 any
4 5 6 any
6 7 6 any
private void setPlayer(com.sun.media.jfxmedia.MediaPlayer);
descriptor: (Lcom/sun/media/jfxmedia/MediaPlayer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.lock:Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
aload 1
putfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.player:Lcom/sun/media/jfxmedia/MediaPlayer;
2: aload 0
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.installListeners:()V
3: aload 0
aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.player:Lcom/sun/media/jfxmedia/MediaPlayer;
invokestatic com.sun.javafx.media.PrismMediaFrameHandler.getHandler:(Ljava/lang/Object;)Lcom/sun/javafx/media/PrismMediaFrameHandler;
putfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.frameHandler:Lcom/sun/javafx/media/PrismMediaFrameHandler;
4: aload 2
monitorexit
5: goto 8
StackMap locals: com.sun.javafx.webkit.prism.WCMediaPlayerImpl com.sun.media.jfxmedia.MediaPlayer java.lang.Object
StackMap stack: java.lang.Throwable
6: aload 2
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.finished:I
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;
0 10 1 p Lcom/sun/media/jfxmedia/MediaPlayer;
Exception table:
from to target type
1 5 6 any
6 7 6 any
MethodParameters:
Name Flags
p
protected void load(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.lock:Ljava/lang/Object;
dup
astore 3
monitorenter
1: aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.createThread:Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl$CreateThread;
ifnull 3
2: aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.createThread:Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl$CreateThread;
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl$CreateThread.cancel:()V
3: StackMap locals: java.lang.Object
StackMap stack:
aload 0
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.disposePlayer:()V
4: aload 0
new com.sun.javafx.webkit.prism.WCMediaPlayerImpl$CreateThread
dup
aload 0
aload 1
aload 2
invokespecial com.sun.javafx.webkit.prism.WCMediaPlayerImpl$CreateThread.<init>:(Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;Ljava/lang/String;Ljava/lang/String;)V
putfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.createThread:Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl$CreateThread;
5: aload 3
monitorexit
6: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
7: aload 3
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.getPreload:()I
ifeq 11
10: aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.createThread:Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl$CreateThread;
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl$CreateThread.start:()V
11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;
0 12 1 url Ljava/lang/String;
0 12 2 userAgent Ljava/lang/String;
Exception table:
from to target type
1 6 7 any
7 8 7 any
MethodParameters:
Name Flags
url
userAgent
protected void cancelLoad();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.lock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.createThread:Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl$CreateThread;
ifnull 3
2: aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.createThread:Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl$CreateThread;
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl$CreateThread.cancel:()V
3: StackMap locals: java.lang.Object
StackMap stack:
aload 1
monitorexit
4: goto 7
StackMap locals:
StackMap stack: java.lang.Throwable
5: aload 1
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.getPlayer:()Lcom/sun/media/jfxmedia/MediaPlayer;
astore 1
start local 1 8: aload 1
ifnull 10
9: aload 1
invokeinterface com.sun.media.jfxmedia.MediaPlayer.stop:()V
10: StackMap locals: com.sun.media.jfxmedia.MediaPlayer
StackMap stack:
aload 0
iconst_0
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.notifyNetworkStateChanged:(I)V
11: aload 0
iconst_0
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.notifyReadyStateChanged:(I)V
12: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;
8 13 1 p Lcom/sun/media/jfxmedia/MediaPlayer;
Exception table:
from to target type
1 4 5 any
5 6 5 any
protected void disposePlayer();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.lock:Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.removeListeners:()V
2: aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.player:Lcom/sun/media/jfxmedia/MediaPlayer;
astore 1
start local 1 3: aload 0
aconst_null
putfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.player:Lcom/sun/media/jfxmedia/MediaPlayer;
4: aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.frameHandler:Lcom/sun/javafx/media/PrismMediaFrameHandler;
ifnull 7
5: aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.frameHandler:Lcom/sun/javafx/media/PrismMediaFrameHandler;
invokevirtual com.sun.javafx.media.PrismMediaFrameHandler.releaseTextures:()V
6: aload 0
aconst_null
putfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.frameHandler:Lcom/sun/javafx/media/PrismMediaFrameHandler;
7: StackMap locals: com.sun.media.jfxmedia.MediaPlayer java.lang.Object
StackMap stack:
aload 2
monitorexit
8: goto 11
end local 1 StackMap locals: com.sun.javafx.webkit.prism.WCMediaPlayerImpl top java.lang.Object
StackMap stack: java.lang.Throwable
9: aload 2
monitorexit
10: athrow
start local 1 11: StackMap locals: com.sun.javafx.webkit.prism.WCMediaPlayerImpl com.sun.media.jfxmedia.MediaPlayer
StackMap stack:
aload 1
ifnull 17
12: aload 1
invokeinterface com.sun.media.jfxmedia.MediaPlayer.stop:()V
13: aload 1
invokeinterface com.sun.media.jfxmedia.MediaPlayer.dispose:()V
14: aconst_null
astore 1
15: aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.frameListener:Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl$MediaFrameListener;
ifnull 17
16: aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.frameListener:Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl$MediaFrameListener;
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl$MediaFrameListener.releaseVideoFrames:()V
17: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;
3 9 1 old Lcom/sun/media/jfxmedia/MediaPlayer;
11 18 1 old Lcom/sun/media/jfxmedia/MediaPlayer;
Exception table:
from to target type
1 8 9 any
9 10 9 any
private void installListeners();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.player:Lcom/sun/media/jfxmedia/MediaPlayer;
ifnull 6
1: aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.player:Lcom/sun/media/jfxmedia/MediaPlayer;
aload 0
invokeinterface com.sun.media.jfxmedia.MediaPlayer.addMediaPlayerListener:(Lcom/sun/media/jfxmedia/events/PlayerStateListener;)V
2: aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.player:Lcom/sun/media/jfxmedia/MediaPlayer;
aload 0
invokeinterface com.sun.media.jfxmedia.MediaPlayer.addMediaErrorListener:(Lcom/sun/media/jfxmedia/events/MediaErrorListener;)V
3: aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.player:Lcom/sun/media/jfxmedia/MediaPlayer;
aload 0
invokeinterface com.sun.media.jfxmedia.MediaPlayer.addVideoTrackSizeListener:(Lcom/sun/media/jfxmedia/events/VideoTrackSizeListener;)V
4: aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.player:Lcom/sun/media/jfxmedia/MediaPlayer;
aload 0
invokeinterface com.sun.media.jfxmedia.MediaPlayer.addBufferListener:(Lcom/sun/media/jfxmedia/events/BufferListener;)V
5: aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.player:Lcom/sun/media/jfxmedia/MediaPlayer;
invokeinterface com.sun.media.jfxmedia.MediaPlayer.getVideoRenderControl:()Lcom/sun/media/jfxmedia/control/VideoRenderControl;
aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.frameListener:Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl$MediaFrameListener;
invokeinterface com.sun.media.jfxmedia.control.VideoRenderControl.addVideoRendererListener:(Lcom/sun/media/jfxmedia/events/VideoRendererListener;)V
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;
private void removeListeners();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.player:Lcom/sun/media/jfxmedia/MediaPlayer;
ifnull 6
1: aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.player:Lcom/sun/media/jfxmedia/MediaPlayer;
aload 0
invokeinterface com.sun.media.jfxmedia.MediaPlayer.removeMediaPlayerListener:(Lcom/sun/media/jfxmedia/events/PlayerStateListener;)V
2: aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.player:Lcom/sun/media/jfxmedia/MediaPlayer;
aload 0
invokeinterface com.sun.media.jfxmedia.MediaPlayer.removeMediaErrorListener:(Lcom/sun/media/jfxmedia/events/MediaErrorListener;)V
3: aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.player:Lcom/sun/media/jfxmedia/MediaPlayer;
aload 0
invokeinterface com.sun.media.jfxmedia.MediaPlayer.removeVideoTrackSizeListener:(Lcom/sun/media/jfxmedia/events/VideoTrackSizeListener;)V
4: aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.player:Lcom/sun/media/jfxmedia/MediaPlayer;
aload 0
invokeinterface com.sun.media.jfxmedia.MediaPlayer.removeBufferListener:(Lcom/sun/media/jfxmedia/events/BufferListener;)V
5: aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.player:Lcom/sun/media/jfxmedia/MediaPlayer;
invokeinterface com.sun.media.jfxmedia.MediaPlayer.getVideoRenderControl:()Lcom/sun/media/jfxmedia/control/VideoRenderControl;
aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.frameListener:Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl$MediaFrameListener;
invokeinterface com.sun.media.jfxmedia.control.VideoRenderControl.removeVideoRendererListener:(Lcom/sun/media/jfxmedia/events/VideoRendererListener;)V
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;
protected void prepareToPlay();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.lock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.player:Lcom/sun/media/jfxmedia/MediaPlayer;
ifnonnull 5
2: aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.createThread:Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl$CreateThread;
astore 2
start local 2 3: aload 2
ifnull 5
aload 2
invokevirtual java.lang.Thread.getState:()Ljava/lang/Thread$State;
getstatic java.lang.Thread$State.NEW:Ljava/lang/Thread$State;
if_acmpne 5
4: aload 2
invokevirtual java.lang.Thread.start:()V
end local 2 5: StackMap locals: java.lang.Object
StackMap stack:
aload 1
monitorexit
6: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
7: aload 1
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;
3 5 2 t Ljava/lang/Thread;
Exception table:
from to target type
1 6 7 any
7 8 7 any
protected void play();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.getPlayer:()Lcom/sun/media/jfxmedia/MediaPlayer;
astore 1
start local 1 1: aload 1
ifnull 4
2: aload 1
invokeinterface com.sun.media.jfxmedia.MediaPlayer.play:()V
3: aload 0
iconst_0
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.notifyPaused:(Z)V
4: StackMap locals: com.sun.media.jfxmedia.MediaPlayer
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;
1 5 1 p Lcom/sun/media/jfxmedia/MediaPlayer;
protected void pause();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.getPlayer:()Lcom/sun/media/jfxmedia/MediaPlayer;
astore 1
start local 1 1: aload 1
ifnull 4
2: aload 1
invokeinterface com.sun.media.jfxmedia.MediaPlayer.pause:()V
3: aload 0
iconst_1
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.notifyPaused:(Z)V
4: StackMap locals: com.sun.media.jfxmedia.MediaPlayer
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;
1 5 1 p Lcom/sun/media/jfxmedia/MediaPlayer;
protected float getCurrentTime();
descriptor: ()F
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.getPlayer:()Lcom/sun/media/jfxmedia/MediaPlayer;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: fconst_0
freturn
3: StackMap locals: com.sun.media.jfxmedia.MediaPlayer
StackMap stack:
aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.finished:I
ifne 4
aload 1
invokeinterface com.sun.media.jfxmedia.MediaPlayer.getPresentationTime:()D
d2f
goto 6
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.finished:I
ifle 5
aload 1
invokeinterface com.sun.media.jfxmedia.MediaPlayer.getDuration:()D
d2f
goto 6
5: StackMap locals:
StackMap stack:
fconst_0
6: StackMap locals:
StackMap stack: float
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;
1 7 1 p Lcom/sun/media/jfxmedia/MediaPlayer;
protected void seek(float);
descriptor: (F)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.getPlayer:()Lcom/sun/media/jfxmedia/MediaPlayer;
astore 2
start local 2 1: aload 2
ifnull 12
2: aload 0
iconst_0
putfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.finished:I
3: aload 0
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.getReadyState:()I
iconst_1
if_icmplt 6
4: aload 0
iconst_1
iconst_1
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.notifySeeking:(ZI)V
5: goto 7
6: StackMap locals: com.sun.media.jfxmedia.MediaPlayer
StackMap stack:
aload 0
iconst_1
iconst_0
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.notifySeeking:(ZI)V
7: StackMap locals:
StackMap stack:
aload 2
fload 1
f2d
invokeinterface com.sun.media.jfxmedia.MediaPlayer.seek:(D)V
8: fload 1
fstore 3
start local 3 9: new java.lang.Thread
dup
new com.sun.javafx.webkit.prism.WCMediaPlayerImpl$1
dup
aload 0
fload 3
invokespecial com.sun.javafx.webkit.prism.WCMediaPlayerImpl$1.<init>:(Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;F)V
invokespecial java.lang.Thread.<init>:(Ljava/lang/Runnable;)V
astore 4
start local 4 10: aload 4
iconst_1
invokevirtual java.lang.Thread.setDaemon:(Z)V
11: aload 4
invokevirtual java.lang.Thread.start:()V
end local 4 end local 3 12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;
0 13 1 time F
1 13 2 p Lcom/sun/media/jfxmedia/MediaPlayer;
9 12 3 seekTime F
10 12 4 seekCompletedThread Ljava/lang/Thread;
MethodParameters:
Name Flags
time
protected void setRate(float);
descriptor: (F)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.getPlayer:()Lcom/sun/media/jfxmedia/MediaPlayer;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
fload 1
invokeinterface com.sun.media.jfxmedia.MediaPlayer.setRate:(F)V
3: StackMap locals: com.sun.media.jfxmedia.MediaPlayer
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;
0 4 1 rate F
1 4 2 p Lcom/sun/media/jfxmedia/MediaPlayer;
MethodParameters:
Name Flags
rate
protected void setVolume(float);
descriptor: (F)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.getPlayer:()Lcom/sun/media/jfxmedia/MediaPlayer;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
fload 1
invokeinterface com.sun.media.jfxmedia.MediaPlayer.setVolume:(F)V
3: StackMap locals: com.sun.media.jfxmedia.MediaPlayer
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;
0 4 1 volume F
1 4 2 p Lcom/sun/media/jfxmedia/MediaPlayer;
MethodParameters:
Name Flags
volume
protected void setMute(boolean);
descriptor: (Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.getPlayer:()Lcom/sun/media/jfxmedia/MediaPlayer;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
iload 1
invokeinterface com.sun.media.jfxmedia.MediaPlayer.setMute:(Z)V
3: StackMap locals: com.sun.media.jfxmedia.MediaPlayer
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;
0 4 1 mute Z
1 4 2 p Lcom/sun/media/jfxmedia/MediaPlayer;
MethodParameters:
Name Flags
mute
protected void setSize(int, int);
descriptor: (II)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=3, args_size=3
start local 0 start local 1 start local 2 0: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;
0 1 1 w I
0 1 2 h I
MethodParameters:
Name Flags
w
h
protected void setPreservesPitch(boolean);
descriptor: (Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;
0 1 1 preserve Z
MethodParameters:
Name Flags
preserve
protected void renderCurrentFrame(com.sun.webkit.graphics.WCGraphicsContext, int, int, int, int);
descriptor: (Lcom/sun/webkit/graphics/WCGraphicsContext;IIII)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.lock:Ljava/lang/Object;
dup
astore 6
monitorenter
1: aload 0
aload 1
iload 2
iload 3
iload 4
iload 5
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.renderImpl:(Lcom/sun/webkit/graphics/WCGraphicsContext;IIII)V
2: aload 6
monitorexit
3: goto 6
StackMap locals: com.sun.javafx.webkit.prism.WCMediaPlayerImpl com.sun.webkit.graphics.WCGraphicsContext int int int int java.lang.Object
StackMap stack: java.lang.Throwable
4: aload 6
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;
0 7 1 gc Lcom/sun/webkit/graphics/WCGraphicsContext;
0 7 2 x I
0 7 3 y I
0 7 4 w I
0 7 5 h I
Exception table:
from to target type
1 3 4 any
4 5 4 any
MethodParameters:
Name Flags
gc
x
y
w
h
private void renderImpl(com.sun.webkit.graphics.WCGraphicsContext, int, int, int, int);
descriptor: (Lcom/sun/webkit/graphics/WCGraphicsContext;IIII)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=10, locals=9, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: getstatic com.sun.javafx.webkit.prism.WCMediaPlayerImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
ldc ">>(Prism)renderImpl"
invokevirtual com.sun.javafx.logging.PlatformLogger.finer:(Ljava/lang/String;)V
1: aload 1
invokevirtual com.sun.webkit.graphics.WCGraphicsContext.getPlatformGraphics:()Ljava/lang/Object;
checkcast com.sun.prism.Graphics
astore 6
start local 6 2: aconst_null
astore 7
start local 7 3: aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.frameListener:Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl$MediaFrameListener;
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl$MediaFrameListener.getLatestFrame:()Lcom/sun/media/jfxmedia/control/VideoDataBuffer;
astore 8
start local 8 4: aload 8
ifnull 8
5: aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.frameHandler:Lcom/sun/javafx/media/PrismMediaFrameHandler;
ifnull 7
6: aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.frameHandler:Lcom/sun/javafx/media/PrismMediaFrameHandler;
aload 6
aload 8
invokevirtual com.sun.javafx.media.PrismMediaFrameHandler.getTexture:(Lcom/sun/prism/Graphics;Lcom/sun/media/jfxmedia/control/VideoDataBuffer;)Lcom/sun/prism/Texture;
astore 7
7: StackMap locals: com.sun.prism.Graphics com.sun.prism.Texture com.sun.media.jfxmedia.control.VideoDataBuffer
StackMap stack:
aload 8
invokeinterface com.sun.media.jfxmedia.control.VideoDataBuffer.releaseFrame:()V
8: StackMap locals:
StackMap stack:
aload 7
ifnull 15
9: aload 6
aload 7
10: iload 2
i2f
iload 3
i2f
iload 2
iload 4
iadd
i2f
iload 3
iload 5
iadd
i2f
11: fconst_0
fconst_0
aload 7
invokeinterface com.sun.prism.Texture.getContentWidth:()I
i2f
aload 7
invokeinterface com.sun.prism.Texture.getContentHeight:()I
i2f
12: invokeinterface com.sun.prism.Graphics.drawTexture:(Lcom/sun/prism/Texture;FFFFFFFF)V
13: aload 7
invokeinterface com.sun.prism.Texture.unlock:()V
14: goto 17
15: StackMap locals:
StackMap stack:
getstatic com.sun.javafx.webkit.prism.WCMediaPlayerImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
ldc " (Prism)renderImpl, texture is null, draw black rect"
invokevirtual com.sun.javafx.logging.PlatformLogger.finest:(Ljava/lang/String;)V
16: aload 1
iload 2
i2f
iload 3
i2f
iload 4
i2f
iload 5
i2f
ldc -16777216
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.sun.webkit.graphics.WCGraphicsContext.fillRect:(FFFFLjava/lang/Integer;)V
17: StackMap locals:
StackMap stack:
getstatic com.sun.javafx.webkit.prism.WCMediaPlayerImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
ldc "<<(Prism)renderImpl"
invokevirtual com.sun.javafx.logging.PlatformLogger.finer:(Ljava/lang/String;)V
18: return
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;
0 19 1 gc Lcom/sun/webkit/graphics/WCGraphicsContext;
0 19 2 x I
0 19 3 y I
0 19 4 w I
0 19 5 h I
2 19 6 g Lcom/sun/prism/Graphics;
3 19 7 texture Lcom/sun/prism/Texture;
4 19 8 currentFrame Lcom/sun/media/jfxmedia/control/VideoDataBuffer;
MethodParameters:
Name Flags
gc
x
y
w
h
public void onReady(com.sun.media.jfxmedia.events.PlayerStateEvent);
descriptor: (Lcom/sun/media/jfxmedia/events/PlayerStateEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.getPlayer:()Lcom/sun/media/jfxmedia/MediaPlayer;
astore 2
start local 2 1: getstatic com.sun.javafx.webkit.prism.WCMediaPlayerImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
ldc "onReady"
invokevirtual com.sun.javafx.logging.PlatformLogger.fine:(Ljava/lang/String;)V
2: aload 2
invokeinterface com.sun.media.jfxmedia.MediaPlayer.getMedia:()Lcom/sun/media/jfxmedia/Media;
astore 3
start local 3 3: iconst_0
istore 4
start local 4 4: iconst_0
istore 5
start local 5 5: aload 3
ifnull 21
6: aload 3
invokevirtual com.sun.media.jfxmedia.Media.getTracks:()Ljava/util/List;
astore 6
start local 6 7: aload 6
ifnull 19
8: getstatic com.sun.javafx.webkit.prism.WCMediaPlayerImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
ldc "{0} track(s) detected:"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 6
invokeinterface java.util.List.size:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual com.sun.javafx.logging.PlatformLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
9: aload 6
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 17
StackMap locals: com.sun.javafx.webkit.prism.WCMediaPlayerImpl com.sun.media.jfxmedia.events.PlayerStateEvent com.sun.media.jfxmedia.MediaPlayer com.sun.media.jfxmedia.Media int int java.util.List top java.util.Iterator
StackMap stack:
10: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.media.jfxmedia.track.Track
astore 7
start local 7 11: aload 7
instanceof com.sun.media.jfxmedia.track.VideoTrack
ifeq 14
12: iconst_1
istore 4
13: goto 16
StackMap locals: com.sun.javafx.webkit.prism.WCMediaPlayerImpl com.sun.media.jfxmedia.events.PlayerStateEvent com.sun.media.jfxmedia.MediaPlayer com.sun.media.jfxmedia.Media int int java.util.List com.sun.media.jfxmedia.track.Track java.util.Iterator
StackMap stack:
14: aload 7
instanceof com.sun.media.jfxmedia.track.AudioTrack
ifeq 16
15: iconst_1
istore 5
16: StackMap locals:
StackMap stack:
getstatic com.sun.javafx.webkit.prism.WCMediaPlayerImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
ldc "track: {0}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 7
aastore
invokevirtual com.sun.javafx.logging.PlatformLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 7 17: StackMap locals: com.sun.javafx.webkit.prism.WCMediaPlayerImpl com.sun.media.jfxmedia.events.PlayerStateEvent com.sun.media.jfxmedia.MediaPlayer com.sun.media.jfxmedia.Media int int java.util.List top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
18: goto 22
19: StackMap locals: com.sun.javafx.webkit.prism.WCMediaPlayerImpl com.sun.media.jfxmedia.events.PlayerStateEvent com.sun.media.jfxmedia.MediaPlayer com.sun.media.jfxmedia.Media int int java.util.List
StackMap stack:
getstatic com.sun.javafx.webkit.prism.WCMediaPlayerImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
ldc "onReady, tracks IS NULL"
invokevirtual com.sun.javafx.logging.PlatformLogger.warning:(Ljava/lang/String;)V
end local 6 20: goto 22
21: StackMap locals:
StackMap stack:
getstatic com.sun.javafx.webkit.prism.WCMediaPlayerImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
ldc "onReady, media IS NULL"
invokevirtual com.sun.javafx.logging.PlatformLogger.warning:(Ljava/lang/String;)V
22: StackMap locals:
StackMap stack:
getstatic com.sun.javafx.webkit.prism.WCMediaPlayerImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
ldc "onReady, hasVideo:{0}, hasAudio: {1}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
iload 4
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_1
iload 5
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
invokevirtual com.sun.javafx.logging.PlatformLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
23: aload 0
iload 4
iload 5
aload 2
invokeinterface com.sun.media.jfxmedia.MediaPlayer.getDuration:()D
d2f
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.notifyReady:(ZZF)V
24: iload 4
ifne 27
25: aload 0
iconst_4
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.notifyReadyStateChanged:(I)V
26: goto 32
27: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.getReadyState:()I
iconst_1
if_icmpge 32
28: aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.gotFirstFrame:Z
ifeq 31
29: aload 0
iconst_4
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.notifyReadyStateChanged:(I)V
30: goto 32
31: StackMap locals:
StackMap stack:
aload 0
iconst_1
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.notifyReadyStateChanged:(I)V
32: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;
0 33 1 pse Lcom/sun/media/jfxmedia/events/PlayerStateEvent;
1 33 2 p Lcom/sun/media/jfxmedia/MediaPlayer;
3 33 3 media Lcom/sun/media/jfxmedia/Media;
4 33 4 hasVideo Z
5 33 5 hasAudio Z
7 20 6 tracks Ljava/util/List<Lcom/sun/media/jfxmedia/track/Track;>;
11 17 7 track Lcom/sun/media/jfxmedia/track/Track;
MethodParameters:
Name Flags
pse
public void onPlaying(com.sun.media.jfxmedia.events.PlayerStateEvent);
descriptor: (Lcom/sun/media/jfxmedia/events/PlayerStateEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.sun.javafx.webkit.prism.WCMediaPlayerImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
ldc "onPlaying"
invokevirtual com.sun.javafx.logging.PlatformLogger.fine:(Ljava/lang/String;)V
1: aload 0
iconst_0
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.notifyPaused:(Z)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;
0 3 1 pse Lcom/sun/media/jfxmedia/events/PlayerStateEvent;
MethodParameters:
Name Flags
pse
public void onPause(com.sun.media.jfxmedia.events.PlayerStateEvent);
descriptor: (Lcom/sun/media/jfxmedia/events/PlayerStateEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.sun.javafx.webkit.prism.WCMediaPlayerImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
ldc "onPause, time: {0}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual com.sun.media.jfxmedia.events.PlayerStateEvent.getTime:()D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
invokevirtual com.sun.javafx.logging.PlatformLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
1: aload 0
iconst_1
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.notifyPaused:(Z)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;
0 3 1 pse Lcom/sun/media/jfxmedia/events/PlayerStateEvent;
MethodParameters:
Name Flags
pse
public void onStop(com.sun.media.jfxmedia.events.PlayerStateEvent);
descriptor: (Lcom/sun/media/jfxmedia/events/PlayerStateEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.sun.javafx.webkit.prism.WCMediaPlayerImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
ldc "onStop"
invokevirtual com.sun.javafx.logging.PlatformLogger.fine:(Ljava/lang/String;)V
1: aload 0
iconst_1
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.notifyPaused:(Z)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;
0 3 1 pse Lcom/sun/media/jfxmedia/events/PlayerStateEvent;
MethodParameters:
Name Flags
pse
public void onStall(com.sun.media.jfxmedia.events.PlayerStateEvent);
descriptor: (Lcom/sun/media/jfxmedia/events/PlayerStateEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.sun.javafx.webkit.prism.WCMediaPlayerImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
ldc "onStall"
invokevirtual com.sun.javafx.logging.PlatformLogger.fine:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;
0 2 1 pse Lcom/sun/media/jfxmedia/events/PlayerStateEvent;
MethodParameters:
Name Flags
pse
public void onFinish(com.sun.media.jfxmedia.events.PlayerStateEvent);
descriptor: (Lcom/sun/media/jfxmedia/events/PlayerStateEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.getPlayer:()Lcom/sun/media/jfxmedia/MediaPlayer;
astore 2
start local 2 1: aload 2
ifnull 7
2: aload 0
aload 2
invokeinterface com.sun.media.jfxmedia.MediaPlayer.getRate:()F
fconst_0
fcmpl
ifle 3
iconst_1
goto 4
StackMap locals: com.sun.javafx.webkit.prism.WCMediaPlayerImpl com.sun.media.jfxmedia.events.PlayerStateEvent com.sun.media.jfxmedia.MediaPlayer
StackMap stack: com.sun.javafx.webkit.prism.WCMediaPlayerImpl
3: iconst_m1
StackMap locals: com.sun.javafx.webkit.prism.WCMediaPlayerImpl com.sun.media.jfxmedia.events.PlayerStateEvent com.sun.media.jfxmedia.MediaPlayer
StackMap stack: com.sun.javafx.webkit.prism.WCMediaPlayerImpl int
4: putfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.finished:I
5: getstatic com.sun.javafx.webkit.prism.WCMediaPlayerImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
ldc "onFinish, time: {0}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual com.sun.media.jfxmedia.events.PlayerStateEvent.getTime:()D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
invokevirtual com.sun.javafx.logging.PlatformLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
6: aload 0
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.notifyFinished:()V
7: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;
0 8 1 pse Lcom/sun/media/jfxmedia/events/PlayerStateEvent;
1 8 2 p Lcom/sun/media/jfxmedia/MediaPlayer;
MethodParameters:
Name Flags
pse
public void onHalt(com.sun.media.jfxmedia.events.PlayerStateEvent);
descriptor: (Lcom/sun/media/jfxmedia/events/PlayerStateEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.sun.javafx.webkit.prism.WCMediaPlayerImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
ldc "onHalt"
invokevirtual com.sun.javafx.logging.PlatformLogger.fine:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;
0 2 1 pse Lcom/sun/media/jfxmedia/events/PlayerStateEvent;
MethodParameters:
Name Flags
pse
public void onError(java.lang.Object, int, java.lang.String);
descriptor: (Ljava/lang/Object;ILjava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic com.sun.javafx.webkit.prism.WCMediaPlayerImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
ldc "onError, errCode={0}, msg={1}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 3
aastore
invokevirtual com.sun.javafx.logging.PlatformLogger.warning:(Ljava/lang/String;[Ljava/lang/Object;)V
1: aload 0
iconst_5
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.notifyNetworkStateChanged:(I)V
2: aload 0
iconst_0
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.notifyReadyStateChanged:(I)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;
0 4 1 source Ljava/lang/Object;
0 4 2 errCode I
0 4 3 message Ljava/lang/String;
MethodParameters:
Name Flags
source
errCode
message
public void onDurationChanged(double);
descriptor: (D)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: getstatic com.sun.javafx.webkit.prism.WCMediaPlayerImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
ldc "onDurationChanged, duration={0}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
dload 1
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
invokevirtual com.sun.javafx.logging.PlatformLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
1: aload 0
dload 1
d2f
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.notifyDurationChanged:(F)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;
0 3 1 duration D
MethodParameters:
Name Flags
duration
public void onSizeChanged(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.sun.javafx.webkit.prism.WCMediaPlayerImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
ldc "onSizeChanged, new size = {0} x {1}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual com.sun.javafx.logging.PlatformLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
1: aload 0
iload 1
iload 2
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.notifySizeChanged:(II)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;
0 3 1 width I
0 3 2 height I
MethodParameters:
Name Flags
width
height
private void notifyFrameArrived();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.gotFirstFrame:Z
ifne 4
1: aload 0
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.getReadyState:()I
iconst_1
if_icmplt 3
2: aload 0
iconst_4
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.notifyReadyStateChanged:(I)V
3: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.gotFirstFrame:Z
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.finished:I
ifeq 6
5: getstatic com.sun.javafx.webkit.prism.WCMediaPlayerImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
ldc "notifyFrameArrived (after finished) time: {0}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.getPlayer:()Lcom/sun/media/jfxmedia/MediaPlayer;
invokeinterface com.sun.media.jfxmedia.MediaPlayer.getPresentationTime:()D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
invokevirtual com.sun.javafx.logging.PlatformLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.notifyNewFrame:()V
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;
private void updateBufferingStatus();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.buffering:Z
ifeq 1
iconst_2
goto 3
1: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.bufferedStart:F
fconst_0
fcmpl
ifle 2
iconst_1
goto 3
StackMap locals:
StackMap stack:
2: iconst_3
3: StackMap locals:
StackMap stack: int
istore 1
start local 1 4: getstatic com.sun.javafx.webkit.prism.WCMediaPlayerImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
ldc "updateBufferingStatus, buffered: [{0} - {1}], buffering = {2}"
5: iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.bufferedStart:F
invokestatic java.lang.Float.valueOf:(F)Ljava/lang/Float;
aastore
dup
iconst_1
aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.bufferedEnd:F
invokestatic java.lang.Float.valueOf:(F)Ljava/lang/Float;
aastore
dup
iconst_2
aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.buffering:Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
6: invokevirtual com.sun.javafx.logging.PlatformLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
7: aload 0
iload 1
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.notifyNetworkStateChanged:(I)V
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;
4 9 1 newNetworkState I
public void onBufferProgress(com.sun.media.jfxmedia.events.BufferProgressEvent);
descriptor: (Lcom/sun/media/jfxmedia/events/BufferProgressEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.sun.media.jfxmedia.events.BufferProgressEvent.getDuration:()D
dconst_0
dcmpg
ifge 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.sun.media.jfxmedia.events.BufferProgressEvent.getDuration:()D
aload 1
invokevirtual com.sun.media.jfxmedia.events.BufferProgressEvent.getBufferStop:()J
l2d
ddiv
dstore 2
start local 2 3: aload 0
dload 2
aload 1
invokevirtual com.sun.media.jfxmedia.events.BufferProgressEvent.getBufferStart:()J
l2d
dmul
d2f
putfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.bufferedStart:F
4: aload 0
dload 2
aload 1
invokevirtual com.sun.media.jfxmedia.events.BufferProgressEvent.getBufferPosition:()J
l2d
dmul
d2f
putfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.bufferedEnd:F
5: aload 0
aload 1
invokevirtual com.sun.media.jfxmedia.events.BufferProgressEvent.getBufferPosition:()J
aload 1
invokevirtual com.sun.media.jfxmedia.events.BufferProgressEvent.getBufferStop:()J
lcmp
ifge 6
iconst_1
goto 7
StackMap locals: com.sun.javafx.webkit.prism.WCMediaPlayerImpl com.sun.media.jfxmedia.events.BufferProgressEvent double
StackMap stack: com.sun.javafx.webkit.prism.WCMediaPlayerImpl
6: iconst_0
StackMap locals: com.sun.javafx.webkit.prism.WCMediaPlayerImpl com.sun.media.jfxmedia.events.BufferProgressEvent double
StackMap stack: com.sun.javafx.webkit.prism.WCMediaPlayerImpl int
7: putfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.buffering:Z
8: iconst_2
newarray 6
astore 4
start local 4 9: aload 4
iconst_0
aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.bufferedStart:F
fastore
10: aload 4
iconst_1
aload 0
getfield com.sun.javafx.webkit.prism.WCMediaPlayerImpl.bufferedEnd:F
fastore
11: aload 1
invokevirtual com.sun.media.jfxmedia.events.BufferProgressEvent.getBufferPosition:()J
aload 1
invokevirtual com.sun.media.jfxmedia.events.BufferProgressEvent.getBufferStart:()J
lsub
l2i
istore 5
start local 5 12: getstatic com.sun.javafx.webkit.prism.WCMediaPlayerImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
ldc "onBufferProgress, bufferStart={0}, bufferStop={1}, bufferPos={2}, duration={3}; notify range [{4},[5]], bytesLoaded: {6}"
13: bipush 7
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual com.sun.media.jfxmedia.events.BufferProgressEvent.getBufferStart:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
aload 1
invokevirtual com.sun.media.jfxmedia.events.BufferProgressEvent.getBufferStop:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_2
14: aload 1
invokevirtual com.sun.media.jfxmedia.events.BufferProgressEvent.getBufferPosition:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_3
aload 1
invokevirtual com.sun.media.jfxmedia.events.BufferProgressEvent.getDuration:()D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
dup
iconst_4
15: aload 4
iconst_0
faload
invokestatic java.lang.Float.valueOf:(F)Ljava/lang/Float;
aastore
dup
iconst_5
aload 4
iconst_1
faload
invokestatic java.lang.Float.valueOf:(F)Ljava/lang/Float;
aastore
dup
bipush 6
iload 5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
16: invokevirtual com.sun.javafx.logging.PlatformLogger.finer:(Ljava/lang/String;[Ljava/lang/Object;)V
17: aload 0
aload 4
iload 5
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.notifyBufferChanged:([FI)V
18: aload 0
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.updateBufferingStatus:()V
19: return
end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;
0 20 1 event Lcom/sun/media/jfxmedia/events/BufferProgressEvent;
3 20 2 bytes2seconds D
9 20 4 ranges [F
12 20 5 bytesLoaded I
MethodParameters:
Name Flags
event
static com.sun.javafx.logging.PlatformLogger access$0();
descriptor: ()Lcom/sun/javafx/logging/PlatformLogger;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.javafx.webkit.prism.WCMediaPlayerImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
areturn
LocalVariableTable:
Start End Slot Name Signature
static void access$1(com.sun.javafx.webkit.prism.WCMediaPlayerImpl, int);
descriptor: (Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;I)V
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iload 1
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.notifyNetworkStateChanged:(I)V
return
LocalVariableTable:
Start End Slot Name Signature
static void access$2(com.sun.javafx.webkit.prism.WCMediaPlayerImpl, int);
descriptor: (Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;I)V
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iload 1
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.notifyReadyStateChanged:(I)V
return
LocalVariableTable:
Start End Slot Name Signature
static boolean access$3(com.sun.javafx.webkit.prism.WCMediaPlayerImpl);
descriptor: (Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;)Z
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.isSeeking:()Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
static void access$4(com.sun.javafx.webkit.prism.WCMediaPlayerImpl, boolean, int);
descriptor: (Lcom/sun/javafx/webkit/prism/WCMediaPlayerImpl;ZI)V
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
iload 1
iload 2
invokevirtual com.sun.javafx.webkit.prism.WCMediaPlayerImpl.notifySeeking:(ZI)V
return
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "WCMediaPlayerImpl.java"
NestMembers:
com.sun.javafx.webkit.prism.WCMediaPlayerImpl$1 com.sun.javafx.webkit.prism.WCMediaPlayerImpl$CreateThread com.sun.javafx.webkit.prism.WCMediaPlayerImpl$MediaFrameListener
InnerClasses:
com.sun.javafx.webkit.prism.WCMediaPlayerImpl$1
private final CreateThread = com.sun.javafx.webkit.prism.WCMediaPlayerImpl$CreateThread of com.sun.javafx.webkit.prism.WCMediaPlayerImpl
private final MediaFrameListener = com.sun.javafx.webkit.prism.WCMediaPlayerImpl$MediaFrameListener of com.sun.javafx.webkit.prism.WCMediaPlayerImpl
public final State = java.lang.Thread$State of java.lang.Thread