Exemplo n.º 1
0
 public override bool Equals(object obj)
 {
     if (obj is VideoCaptureRate)
     {
         VideoCaptureRate cr = obj as VideoCaptureRate;
         if ((Width == cr.Width) && (Height == cr.Height) && (FrameRate == cr.FrameRate))
         {
             return(true);
         }
     }
     return(false);
 }
Exemplo n.º 2
0
 public MediaSample(byte[] bData, VideoCaptureRate format)
 {
     MediaType             = MediaType.Video;
     this.m_objVideoFormat = format;
     m_bData = bData;
 }
Exemplo n.º 3
0
 public MediaSample(byte[] bData, VideoCaptureRate format)
 {
     MediaType = MediaType.Video;
     this.m_objVideoFormat = format;
     m_bData = bData;
 }