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; }
public FrameServerCapture() { m_FrameGrabber = new FrameGrabberAForge(this, m_FrameBuffer); m_AspectRatio = (VideoFiles.AspectRatio)((int)PreferencesManager.Instance().AspectRatio); }