Наследование: IDisposable
Пример #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;
     }
 }
Пример #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;
     }
 }