Exemple #1
0
 public bool Equals(CameraConfig config)
 {
     if (config.Width == this.Width &&
         config.Height == this.Height &&
         config.BitRate == this.BitRate)
         return true;
     return false;
 }
Exemple #2
0
 // On resolution change recreate direct3d device with new size
 public void UpdateResoultion(CameraConfig newResolution)
 {
     _resolution = newResolution;
     CreateD3Device();
 }