среда, 5 декабря 2007 г.

DirectShow & D3DERR_OUTOFVIDEOMEMORY solution

I've wrote recently about the error D3DERR_OUTOFVIDEOMEMORY which you can reproduce by creating/destroying VMR9 instance in the Windowless mode X times (X depends of yours video card memory amount).

With the help of the DirectX9 debug binaries I have found that the memory leak takes place in case of switching VMR9 in the Windowsless mode. I've found that the DirectX9 surface which is created on that step will never be destroyed.

Seem to be the solution is to use DirectX9 Nov2007. No more leaks and works fine.