Пример #1
0
 public Capture(WinDVCaptureDevice device, VTR.VTR vtr, string fileName, CaptureMetadata metadata)
 {
     if (fileName == "")
     {
         throw new Exception("Filename for capture can't be empty!");
     }
     _device   = device;
     _vtr      = vtr;
     _fileName = fileName;
     _metadata = metadata;
 }
Пример #2
0
 public ICapture StartCapture(VTR.VTR vtr, string fileName, CaptureMetadata metadata)
 {
     lock (_syncRoot)
     {
         if (_currentCapture != null)
         {
             throw new Exception("Can't start capture, because device is already used!");
         }
         _currentCapture = new Capture(this, vtr, fileName, metadata);
         _currentCapture.Start();
         return(_currentCapture);
     }
 }
Пример #3
0
 public MetadataEditorForm(CaptureMetadata editedStruct)
 {
     _editedStruct = editedStruct;
     InitializeComponent();
 }