internal VideoSource(IntPtr videoSource) { _nativePtr = videoSource; var propPtr = NativeMethods.FFMS_GetVideoProperties(videoSource); _vp = (FFMS_VideoProperties)Marshal.PtrToStructure(propPtr, typeof(FFMS_VideoProperties)); }