Login  Register

Re: TextureNames creation failed when calling GLMediaPlayer.initGL with multiple players

Posted by asambol on Jan 20, 2016; 3:14pm
URL: https://forum.jogamp.org/TextureNames-creation-failed-when-calling-GLMediaPlayer-initGL-tp4033009p4036056.html

Bug report here: https://jogamp.org/bugzilla/show_bug.cgi?id=1286

On a related note, I also discovered that calling GLMediaPlayer.destroy() while it is loading a video in Uninitialised state (very tiny window of time) causes JVM crash:

Stack: [0x000000007d590000,0x000000007d690000],  sp=0x000000007d68f030,  free space=1020k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [jogl_desktop.dll+0xb530]
C  0x0000000002465e34

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  jogamp.opengl.util.av.impl.FFMPEGv11Natives.setStream0(JLjava/lang/String;ZILjava/lang/String;IIIIII)V+0
j  jogamp.opengl.util.av.impl.FFMPEGMediaPlayer.initStreamImpl(II)V+581
j  jogamp.opengl.util.av.GLMediaPlayerImpl$1.run()V+12