Пример #1
0
 public override void Dispose()
 {
     if (_rot != null)
     {
         try
         {
             _rot.Dispose();
         }
         catch { }
         _rot = null;
     }
     base.Dispose();
 }
Пример #2
0
 protected override HRESULT OnInitInterfaces()
 {
     _rot = new DirectShow.DsROTEntry(m_GraphBuilder);
     return(base.OnInitInterfaces());
 }