Ejemplo n.º 1
0
 public void OpenDevice(IVideoDevice videoDevice)
 {
     if (_currentVideoDevice != null)
     {
         _currentVideoDevice.PushingData -= _videoDevice_PushData;
     }
     _currentVideoDevice              = videoDevice;
     _currentVideoDevice.PushingData += _videoDevice_PushData;
     PowerMsPlayer.StopDecData();
     PowerMsPlayer.StartInputDecData(0, videoDevice.DeviceBitmapInfoHeader);
 }