i am writing a video capture component in C#
this is the code:
when i use the component,it works and update every frame ,looks like animation…it fine
but after running several minute(1 or 2 minitues),gh will show a dialog:
i translate the chinese into english in the picture…
how to fix that problem(the problem I guess, may because the events(“NewFrame”) is on a non-UI thread,and the time in ScheduleSolution(time,callater) is “1”,may be not so good),and how to debug that(because it cannot use breakpoint in visual studio,i tried,but failed…)
Thank you very much!