コード例 #1
0
        private void StopConversion()
        {
            // stop graph
            m_pMediaControl.Stop();

            // destroy all objects
            m_pEvent = null;
            m_pSeeking = null;
            m_pMediaControl = null;

            m_pRenderEngine.ScrapIt();

            m_pRenderEngine = null;
            m_pTimeline = null;
            m_pVideoGroupObj = null;
            m_pAudioGroupObj = null;
            m_pIMPEGEncoderProfile = null;
            m_pIMPEGEncoder = null;
            m_pMPEGWriter = null;
            m_pGraph = null;
            m_pBuilder = null;
        }
コード例 #2
0
 public virtual extern void GetSelectedProfile([MarshalAs(UnmanagedType.Interface)] out StandardMpegEncoderProfile pProfile);
コード例 #3
0
 public virtual extern void SelectProfile([In, MarshalAs(UnmanagedType.Interface)] StandardMpegEncoderProfile pProfile);
コード例 #4
0
 public virtual extern void GetProfile([In, ComAliasName("DirectEncodeNET.SystemsOutputFormat")] SystemsOutputFormat systemsFormat, [In, ComAliasName("DirectEncodeNET.Constraint")] Constraint Constraint, [MarshalAs(UnmanagedType.Interface)] out StandardMpegEncoderProfile pProfile);