-
CVideoOutputDevice::SetFrameSize retrieves a window DC every time a video frame is drawn, but it never releases it. This causes a massive GDI leak and very frequent crashes because of hitting the limit of available GDI handles. The following code has to be added in that function, right after "PWaitAndSignal wait(mutex);":
if (m_wndFrame)
m_wndFrame->ReleaseDC(curDC);
As this project...
2008-08-11 10:00:47 UTC in MyPhone - Voice and Video Chat client
-
CVideoOutputDevice::SetFrameSize retrieves a window DC every time a video frame is drawn, but it never releases it. This causes a massive GDI leak and very frequent crashes because of hitting the limit of available GDI handles.
The following code has to be added in that function, right after "PWaitAndSignal wait(mutex);":
if (m_wndFrame)
m_wndFrame->ReleaseDC(curDC);
As this project...
2008-08-11 09:55:05 UTC in MyPhone - Voice and Video Chat client