Memory leaks disposing AudioVideoPlayback.Video object

Hello.

Sorry if this question is not in the right thread.

I'm writing C# application for continuous video playback using the Video class from AudioVideoPlayback namespace.

I create new Video object for each movie clip disposing previous one and I face the memory leak problem if I set Audio.Volume property somewhere; the Audio object is not disposed. This leads to E_OUTOFMEMORY exception when trying to play 10th or 20th clip.

Now I've commented lines that change Audio.Volume and application operates normally. Is there any way out of the situation I don't like the idea to change the master volume...

Thanks in advance, Victor.



Answer this question

Memory leaks disposing AudioVideoPlayback.Video object

  • Memory leaks disposing AudioVideoPlayback.Video object