Beispiel #1
0
 public void OnCaptureError(VideoCapture videoCap, ERR_CAPTURE errorCode, object customObject)
 {
     if (errorCode == ERR_CAPTURE.EOF)
     {
         SetFrame(null);
     }
 }
Beispiel #2
0
 private void OnCaptureErrorNative(IntPtr hVideoCapture, ERR_CAPTURE errorCode, IntPtr notUsed)
 {
     if (this.captureErrorCallback != null)
     {
         this.captureErrorCallback(this, errorCode, this.customObject);
     }
 }