I am using Splicer from Codeplex, but I have difficulty to compile my sample code.
It returns me error because of
using (IRe开发者_StackOverflow中文版nderer renderer = new WindowsMediaRenderer(timeline, outputFile, WindowsMediaProfiles.HighQualityVideo))
It returns me " used in a using statement must be implicitly convertible to 'System.IDisposable' ". It caused me not be able to compile my program.
Why there's this problem and how to solve this problem? Thanks for help!
IRenderer does not implement IDisposableinterface, where theWindowsMediaRendererimplements it. to correct the issue in the example replace theIRendererwithWindowsMediaRenderer`:
using (WindowsMediaRendererrenderer renderer = new WindowsMediaRenderer(timeline, outputFile, WindowsMediaProfiles.HighQualityVideo))
加载中,请稍侯......
精彩评论