AForge-examples icon indicating copy to clipboard operation
AForge-examples copied to clipboard

Aforge window form memory leak occur

Open twoeyesdontcry opened this issue 3 years ago • 2 comments

When I run the window forms app, click the start button, the program freezes after a few seconds due to a memory leak. private void btnStart_Click(object sender, EventArgs e) { videoSource = new VideoCaptureDevice(videoDevicesList[cmbVideoSource.SelectedIndex].MonikerString); videoSource.NewFrame += new NewFrameEventHandler(video_NewFrame); videoSource.Start(); }

twoeyesdontcry avatar Dec 15 '21 11:12 twoeyesdontcry

how to record a videofile through aforge libriary? could you give another example code?

dongfei027 avatar Jun 23 '22 09:06 dongfei027