|
Add specific decoder to white list. It enables the developer to accept specific filters only. You must set UseDecoderFilter property = true and set DecoderFilterType =1 if you use this method. Keep in mind that if you use this method, you need add the all decoders correctly, the system use the decoders added to whitelist only. Otherwise it may not playback the video correctly.
Public Function DecoderAdd2WhiteList( _ ByVal strDecoderName As String )
|
Parameter strDecoderName Specifies the name of decoder or filter.
NoReturn Value
No return value
Example
|
Visual Basic Syntax VideoEdit1.UseDecoderFilter = True VideoEdit1.DecoderFilterType = 1 VideoEdit1.DecoderAdd2WhiteList "Viscomsoft Mpeg Splitter" VideoEdit1.DecoderAdd2WhiteList "Viscomsoft MPEG Video Decoder" VideoEdit1.DecoderAdd2WhiteList "Viscomsoft MPEG Audio Decoder" VideoEdit1.InitControl VideoEdit1.AddVideo "c:\test.mpg", 0, 30, 0 VideoEdit1.AddAudio "c:\test.mpg", 0, 30MoviePlayer1.Play VideoEdit1.Preview
|
|
|