Exemplo n.º 1
0
        protected override MediaData ExportProtected(Presentation destPres)
        {
            VideoMediaData expImgData = (VideoMediaData)destPres.MediaDataFactory.Create(GetType());

            expImgData.InitializeVideo(m_DataProvider.Export(destPres), OriginalRelativePath);
            return(expImgData);
        }
Exemplo n.º 2
0
        protected override MediaData CopyProtected()
        {
            VideoMediaData copyVideoMediaData = (VideoMediaData)Presentation.MediaDataFactory.Create(GetType());

            // We do not Copy the FileDataProvider,
            // it is shared amongst VideoMediaData instances without concurrent access problems
            // because the file stream is read-only by design.
            copyVideoMediaData.InitializeVideo(m_DataProvider, OriginalRelativePath);
            return(copyVideoMediaData);
        }