Login  Register

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

Posted by kdropucic on Sep 05, 2015; 11:17am
URL: https://forum.jogamp.org/TextureNames-creation-failed-when-calling-GLMediaPlayer-initGL-tp4033009p4035253.html

Hi,

probably the same problem here.

In our application we have instantiation of multiple video-containing windows and the problem occurs almost every time we run it.
We tried to reproduce the problem in a different project, so we chose MovieSimple.java demo which we modified so it deals with 4 videos and we managed to reproduce the same problem, but not so often - it occurs every once in a while.
We suspect the problem lies in time delay between video initializations and number of used videos - the shorter the time orgreater the number of videos, the greater the chance of problem manifestation.

Here are the console outputs of both projects:
1. Our application: http://pastebin.com/t2wj59pj (the ms time-stamp of a single video initialization are in  ">>>>>>>>>> 1441438808588" form)
2. MovieSimple.java modified demo: http://pastebin.com/P4G8LjYT