Esempio n. 1
0
        internal VideoSource(IntPtr videoSource)
        {
            _nativePtr = videoSource;
            var propPtr = NativeMethods.FFMS_GetVideoProperties(videoSource);

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