Inheritance: IDisposable
 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;
     }
 }
Exemple #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;
     }
 }