Postby AEtH » 01 Jul 2010 10:19
Hi to everyone. I'm experiencing a problem involving canvas resources. I've migrated a player from 1.0.6 to 1.1.0 without problems, but I'm experiencing some problems. I'm my aplication, there are one libvlc instance and two media players, and when the first player is playing the second one is stopped, as in a sequence. The time between start-stop sequence is about 3 seconds.
In short, and easier to understand, one media player instance is playing (5 seconds) and stopped (3 seconds). Well, after about 6-8 hours (3000-4000 iterations), the operating system claims: Some operation could not be performed because the system is out of resources. Close some windows and try again.
I tried the same operation with 1.0.6. In that version, the problem is that the memory usage doesn't stop growing. With 1.1.0 the problem is solved (memory usage is stable), but it seems that the canvas handle is not released, and when the player starts playing again, another canvas handle is used.
Now I'm running a debug version with logging activated, maybe it can clarify what is happening.
Thanks