コード例 #1
0
        public FrameServerCapture()
        {
            m_FrameGrabber = new FrameGrabberAForge(this, m_FrameBuffer);
            m_AspectRatio  = PreferencesManager.PlayerPreferences.AspectRatio;

            IntPtr forceHandleCreation = m_DummyControl.Handle;             // Needed to show that the main thread "owns" this Control.

            m_EventFrameGrabbed = FrameGrabbed_Invoked;
        }
コード例 #2
0
 public FrameServerCapture()
 {
     m_FrameGrabber = new FrameGrabberAForge(this, m_FrameBuffer);
     m_AspectRatio  = (VideoFiles.AspectRatio)((int)PreferencesManager.Instance().AspectRatio);
 }