Inheritance: IDisposable
Example #1
0
 public VideoPlayerBase(string file, bool asize = true)
 {
     FileName  = file;
     _autosize = asize;
     Decoder   = new VideoDecoder(BufferSize);
     Decoder.Open(FileName);
     if (_autosize)
     {
         Width  = Decoder.width;
         Height = Decoder.height;
     }
 }
Example #2
0
 public VideoPlayerBase(string file,bool asize=true)
 {
     FileName = file;
     _autosize = asize;
     Decoder = new VideoDecoder(BufferSize);
     Decoder.Open(FileName);
     if (_autosize)
     {
         Width = Decoder.width;
         Height = Decoder.height;
     }
 }